diff options
Diffstat (limited to 'fake-regex.h')
-rw-r--r-- | fake-regex.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/fake-regex.h b/fake-regex.h index 8c4a8f1ca..8f7f6eddd 100644 --- a/fake-regex.h +++ b/fake-regex.h | |||
@@ -43,7 +43,6 @@ | |||
43 | #ifndef _REGEX_H_ | 43 | #ifndef _REGEX_H_ |
44 | #define _REGEX_H_ | 44 | #define _REGEX_H_ |
45 | 45 | ||
46 | #include <sys/cdefs.h> | ||
47 | #include <sys/types.h> | 46 | #include <sys/types.h> |
48 | 47 | ||
49 | /* types */ | 48 | /* types */ |
@@ -99,12 +98,9 @@ typedef struct { | |||
99 | #define REG_LARGE 01000 /* force large representation */ | 98 | #define REG_LARGE 01000 /* force large representation */ |
100 | #define REG_BACKR 02000 /* force use of backref code */ | 99 | #define REG_BACKR 02000 /* force use of backref code */ |
101 | 100 | ||
102 | __BEGIN_DECLS | 101 | int regcomp(regex_t*, const char*, int); |
103 | int regcomp __P((regex_t *, const char *, int)); | 102 | size_t regerror(int, const regex_t*, char*, size_t); |
104 | size_t regerror __P((int, const regex_t *, char *, size_t)); | 103 | int regexec(const regex_t*, const char*, size_t, regmatch_t[], int); |
105 | int regexec __P((const regex_t *, | 104 | void regfree(regex_t*); |
106 | const char *, size_t, regmatch_t [], int)); | ||
107 | void regfree __P((regex_t *)); | ||
108 | __END_DECLS | ||
109 | 105 | ||
110 | #endif /* !_REGEX_H_ */ | 106 | #endif /* !_REGEX_H_ */ |