summaryrefslogtreecommitdiff
path: root/include/xregex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xregex.h')
-rw-r--r--include/xregex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xregex.h b/include/xregex.h
index 4185818..23cf19c 100644
--- a/include/xregex.h
+++ b/include/xregex.h
@@ -12,6 +12,7 @@
#define __BB_REGEX__
#include <regex.h>
-extern void xregcomp(regex_t *preg, const char *regex, int cflags);
+char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags);
+void xregcomp(regex_t *preg, const char *regex, int cflags);
#endif