diff options
Diffstat (limited to '')
-rw-r--r-- | lib/regex.h (renamed from src/util/regex.h) | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/util/regex.h b/lib/regex.h index 69facc6..d4c61b6 100644 --- a/src/util/regex.h +++ b/lib/regex.h @@ -36,16 +36,9 @@ #define RE_DOT_MATCHES_NEWLINE 1 #endif -#ifdef __cplusplus -extern "C"{ -#endif - - - /* Typedef'd pointer to get abstract datatype. */ typedef struct regex_t* re_t; - /* Compile regex string pattern to a regex_t-array. */ re_t re_compile(const char* pattern); @@ -58,8 +51,4 @@ int re_matchp(re_t pattern, const char* text, int* matchlength); int re_match(const char* pattern, const char* text, int* matchlength); -#ifdef __cplusplus -} -#endif - #endif /* ifndef _TINY_REGEX_C */ |