X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=include%2Fregex.h;h=abda3cd7f4370758d9909c79ade589d5da253d21;hp=7403abefb9dda55cf5431fe20c9c5d9f0602775e;hb=HEAD;hpb=13147978c50b4efa5b4eb0b65d8175aa596a76fe diff --git a/include/regex.h b/include/regex.h index 7403abef..abda3cd7 100644 --- a/include/regex.h +++ b/include/regex.h @@ -2,13 +2,14 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * regex.c: Interface to libPCRE (perl compatible regular expressions). * */ -#ifndef I3_REGEX_H -#define I3_REGEX_H +#pragma once + +#include /** * Creates a new 'regex' struct containing the given pattern and a PCRE @@ -35,5 +36,3 @@ void regex_free(struct regex *regex); * */ bool regex_matches(struct regex *regex, const char *input); - -#endif