From 2396b30d9598bad07fe282e9626779967c4e14b8 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 23 Jan 2001 16:54:29 +0000 Subject: - (bal) #ifdef around S_IFSOCK if platform does not support it. patch by Tim Rice - (bal) fake-regex.h cleanup based on Tim Rice's patch. --- fake-regex.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'fake-regex.h') 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 @@ #ifndef _REGEX_H_ #define _REGEX_H_ -#include #include /* types */ @@ -99,12 +98,9 @@ typedef struct { #define REG_LARGE 01000 /* force large representation */ #define REG_BACKR 02000 /* force use of backref code */ -__BEGIN_DECLS -int regcomp __P((regex_t *, const char *, int)); -size_t regerror __P((int, const regex_t *, char *, size_t)); -int regexec __P((const regex_t *, - const char *, size_t, regmatch_t [], int)); -void regfree __P((regex_t *)); -__END_DECLS +int regcomp(regex_t*, const char*, int); +size_t regerror(int, const regex_t*, char*, size_t); +int regexec(const regex_t*, const char*, size_t, regmatch_t[], int); +void regfree(regex_t*); #endif /* !_REGEX_H_ */ -- cgit v1.2.3