summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley2000-06-28 21:58:31 +0000
committerMark Whitley2000-06-28 21:58:31 +0000
commit0c96eba3de7e81e310f30e66bb595980ea13f979 (patch)
treed73a3bed75453092cd84725d575ff3c55f19b130
parenta44790f53919f0d129c78b8a288e5f5cac331c66 (diff)
downloadbusybox-0c96eba3de7e81e310f30e66bb595980ea13f979.zip
busybox-0c96eba3de7e81e310f30e66bb595980ea13f979.tar.gz
Removed some function decls (regex, regcomp, etc.) and put them in regexp.c
-rw-r--r--regexp.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/regexp.h b/regexp.h
index 0c7c9d9..9e0cb40 100644
--- a/regexp.h
+++ b/regexp.h
@@ -25,24 +25,6 @@
#define _REGEXP_H_
-
-
-#define NSUBEXP 10
-typedef struct regexp {
- char *startp[NSUBEXP];
- char *endp[NSUBEXP];
- int minlen; /* length of shortest possible match */
- char first; /* first character, if known; else \0 */
- char bol; /* boolean: must start at beginning of line? */
- char program[1]; /* Unwarranted chumminess with compiler. */
-} regexp;
-
-
-
-extern regexp *regcomp(char* text);
-extern int regexec(struct regexp* re, char* str, int bol, int ignoreCase);
-extern void regsub(struct regexp* re, char* src, char* dst);
-
extern int find_match(char *haystack, char *needle, int ignoreCase);
extern int replace_match(char *haystack, char *needle, char *newNeedle, int ignoreCase);