]> git.notmuchmail.org Git - notmuch/blobdiff - util/xutil.h
xregcomp: don't consider every regex compilation failure an internal error.
[notmuch] / util / xutil.h
index fd77f733a5b33a35dfb32bcb3055c0c1147a5303..92992564487ed26ad6b363cbd90817988a726738 100644 (file)
@@ -43,7 +43,8 @@ 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