X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fregex.h;h=e11d377e453ae7d8ddb7db83ce383d62414de226;hb=cd0cd0c3d22d7acba240ca10d8594621cc67ee34;hp=fe1e9f9537f47dcb13d029618763362c2048d054;hpb=a97e70d4831609935128e99a373b9c35c4eff9f1;p=i3%2Fi3 diff --git a/include/regex.h b/include/regex.h index fe1e9f95..e11d377e 100644 --- a/include/regex.h +++ b/include/regex.h @@ -7,8 +7,7 @@ * regex.c: Interface to libPCRE (perl compatible regular expressions). * */ -#ifndef _REGEX_H -#define _REGEX_H +#pragma once /** * Creates a new 'regex' struct containing the given pattern and a PCRE @@ -35,5 +34,3 @@ void regex_free(struct regex *regex); * */ bool regex_matches(struct regex *regex, const char *input); - -#endif