summaryrefslogtreecommitdiffstats
path: root/include/regex.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commit300518c0a10b4f5030e23380da07c906a3ee80dc (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/regex.h
parenta931cab8794b686ee088069d9a62bcfec63c5b1b (diff)
downloadFreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.zip
FreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.tar.gz
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.
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 1611d4b..0c52bd7 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_ */
OpenPOWER on IntegriCloud