summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-21 13:24:58 +0000
committerDenis Vlasenko2006-12-21 13:24:58 +0000
commite865e81d34efb96417c549e9c326fb1c46dafbc7 (patch)
tree33ba50881b34dcb0732763d0359ca9a50bdef99a /include
parentbf66fbc8e2380717c1fab860cfc60c78582839dd (diff)
downloadbusybox-e865e81d34efb96417c549e9c326fb1c46dafbc7.zip
busybox-e865e81d34efb96417c549e9c326fb1c46dafbc7.tar.gz
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')
-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