From bb28f3c29b4c91af1b0e79e456294bb08735648a Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 23 Mar 2002 17:24:55 +0000 Subject: Breath deep and take __P out of the system include files. # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. --- include/regex.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/regex.h') diff --git a/include/regex.h b/include/regex.h index 1611d4b87921..0c52bd7f27f3 100644 --- a/include/regex.h +++ b/include/regex.h @@ -35,6 +35,7 @@ * SUCH DAMAGE. * * @(#)regex.h 8.2 (Berkeley) 1/3/94 + * $FreeBSD$ */ #ifndef _REGEX_H_ @@ -96,11 +97,10 @@ typedef struct { #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 *)); +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 *); __END_DECLS #endif /* !_REGEX_H_ */ -- cgit v1.2.3