X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fxregex.h;h=23cf19c027857c60453acb1d5c2e20a49afa68c6;hb=3734b946bfef55c8f63d367422da5c7aa7b972db;hp=188e90ff64724f611ea75573045c89c25732b911;hpb=86b4d64aa3f5ca4c2824a8948541b0e18dfe0a74;p=oweals%2Fbusybox.git diff --git a/include/xregex.h b/include/xregex.h index 188e90ff6..23cf19c02 100644 --- a/include/xregex.h +++ b/include/xregex.h @@ -5,13 +5,14 @@ * * Based in part on code from sash, Copyright (c) 1999 by David I. Bell * Permission has been granted to redistribute this code under the GPL. - * + * * Licensed under GPLv2 or later, see file License in this tarball for details. */ #ifndef __BB_REGEX__ #define __BB_REGEX__ #include -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