diff options
author | Mark Whitley <markw@lineo.com> | 2000-07-11 16:53:56 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-07-11 16:53:56 +0000 |
commit | df5f6ba1159f8c1af500fa1b8eb9c9646e4de2a6 (patch) | |
tree | 90005f171e95b4fc0eefca5171593ba0b105b3f7 /internal.h | |
parent | da9841efc1e924ab3f645d931ae17c6d4aaf766f (diff) | |
download | busybox-w32-df5f6ba1159f8c1af500fa1b8eb9c9646e4de2a6.tar.gz busybox-w32-df5f6ba1159f8c1af500fa1b8eb9c9646e4de2a6.tar.bz2 busybox-w32-df5f6ba1159f8c1af500fa1b8eb9c9646e4de2a6.zip |
Applied patch from Matt Kraai which does the following:
- adds case-insensitive matching in sed s/// epxressions
- consolodates common regcomp code in grep & sed into bb_regcomp and put in
utility.c
- cleans up a bunch of cruft
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal.h b/internal.h index 5864c47ac..4ef15325e 100644 --- a/internal.h +++ b/internal.h | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <sys/stat.h> | 34 | #include <sys/stat.h> |
35 | #include <sys/param.h> | 35 | #include <sys/param.h> |
36 | #include <mntent.h> | 36 | #include <mntent.h> |
37 | 37 | #include <regex.h> | |
38 | 38 | ||
39 | /* Some useful definitions */ | 39 | /* Some useful definitions */ |
40 | #define FALSE ((int) 1) | 40 | #define FALSE ((int) 1) |
@@ -259,6 +259,7 @@ extern int find_real_root_device_name(char* name); | |||
259 | extern char *get_line_from_file(FILE *file); | 259 | extern char *get_line_from_file(FILE *file); |
260 | extern char process_escape_sequence(char **ptr); | 260 | extern char process_escape_sequence(char **ptr); |
261 | extern char *get_last_path_component(char *path); | 261 | extern char *get_last_path_component(char *path); |
262 | extern int bb_regcomp(regex_t *preg, const char *regex, int cflags); | ||
262 | 263 | ||
263 | extern void *xmalloc (size_t size); | 264 | extern void *xmalloc (size_t size); |
264 | extern char *xstrdup (const char *s); | 265 | extern char *xstrdup (const char *s); |