summaryrefslogtreecommitdiff
path: root/fake-regex.h
diff options
context:
space:
mode:
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_ */