bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;
[oweals/busybox.git] / include / xregex.h
index 188e90ff64724f611ea75573045c89c25732b911..23cf19c027857c60453acb1d5c2e20a49afa68c6 100644 (file)
@@ -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 <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