aboutsummaryrefslogtreecommitdiffstats
path: root/include/regex.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commitbb28f3c29b4c91af1b0e79e456294bb08735648a (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/regex.h
parent194788fafcb927f0affa1a56e21a1e8373f81f9c (diff)
downloadsrc-bb28f3c29b4c91af1b0e79e456294bb08735648a.tar.gz
src-bb28f3c29b4c91af1b0e79e456294bb08735648a.zip
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.
Notes
Notes: svn path=/head/; revision=93032
Diffstat (limited to 'include/regex.h')
-rw-r--r--include/regex.h10
1 files changed, 5 insertions, 5 deletions
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_ */