summaryrefslogtreecommitdiff
path: root/fake-regex.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-01-23 16:54:29 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-01-23 16:54:29 +0000
commit2396b30d9598bad07fe282e9626779967c4e14b8 (patch)
tree96b831428e4a285d66db9c2f82579ab9e86d6b52 /fake-regex.h
parent16a86be01aa1f097c5ceaea9ea96253e55d9a016 (diff)
- (bal) #ifdef around S_IFSOCK if platform does not support it.
patch by Tim Rice <tim@multitalents.net> - (bal) fake-regex.h cleanup based on Tim Rice's patch.
Diffstat (limited to 'fake-regex.h')
-rw-r--r--fake-regex.h12
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 101int regcomp(regex_t*, const char*, int);
103int regcomp __P((regex_t *, const char *, int)); 102size_t regerror(int, const regex_t*, char*, size_t);
104size_t regerror __P((int, const regex_t *, char *, size_t)); 103int regexec(const regex_t*, const char*, size_t, regmatch_t[], int);
105int regexec __P((const regex_t *, 104void regfree(regex_t*);
106 const char *, size_t, regmatch_t [], int));
107void regfree __P((regex_t *));
108__END_DECLS
109 105
110#endif /* !_REGEX_H_ */ 106#endif /* !_REGEX_H_ */