aboutsummaryrefslogtreecommitdiff
path: root/include/xregex.h
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-12-21 13:24:58 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-12-21 13:24:58 +0000
commite865e81d34efb96417c549e9c326fb1c46dafbc7 (patch)
tree33ba50881b34dcb0732763d0359ca9a50bdef99a /include/xregex.h
parentbf66fbc8e2380717c1fab860cfc60c78582839dd (diff)
downloadbusybox-e865e81d34efb96417c549e9c326fb1c46dafbc7.tar.gz
busybox-e865e81d34efb96417c549e9c326fb1c46dafbc7.tar.bz2
less: stop dying on bad regexps, quietly pipe data w/o
user interaction if stdout is not a tty. size optimizations
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 4185818a8..23cf19c02 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