X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fxutil.h;h=b84e0e257e806937d37d41e1a00b44d5d6c81f73;hp=fd77f733a5b33a35dfb32bcb3055c0c1147a5303;hb=556c5fa8900d14c61544f3ac016d3cca1db5a91a;hpb=1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1 diff --git a/util/xutil.h b/util/xutil.h index fd77f733..b84e0e25 100644 --- a/util/xutil.h +++ b/util/xutil.h @@ -25,8 +25,6 @@ #include #include -#pragma GCC visibility push(hidden) - /* xutil.c */ void * xcalloc (size_t nmemb, size_t size); @@ -43,13 +41,12 @@ xstrdup (const char *s); char * xstrndup (const char *s, size_t n); -void +/* Returns 0 for successful compilation, 1 otherwise */ +int xregcomp (regex_t *preg, const char *regex, int cflags); int xregexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags); -#pragma GCC visibility pop - #endif