diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-21 13:24:58 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-21 13:24:58 +0000 |
commit | e865e81d34efb96417c549e9c326fb1c46dafbc7 (patch) | |
tree | 33ba50881b34dcb0732763d0359ca9a50bdef99a /include | |
parent | bf66fbc8e2380717c1fab860cfc60c78582839dd (diff) | |
download | 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.h | 3 |
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 |