summaryrefslogtreecommitdiffstats
path: root/include/regexp.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/regexp.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/regexp.h')
-rw-r--r--include/regexp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/regexp.h b/include/regexp.h
index 47c8e88..96c2c94 100644
--- a/include/regexp.h
+++ b/include/regexp.h
@@ -35,6 +35,7 @@
* SUCH DAMAGE.
*
* @(#)regexp.h 8.1 (Berkeley) 6/2/93
+ * $FreeBSD$
*/
#ifndef _REGEXP_H_
@@ -60,10 +61,10 @@ typedef struct regexp {
#include <sys/cdefs.h>
__BEGIN_DECLS
-regexp *regcomp __P((const char *));
-int regexec __P((const regexp *, const char *));
-void regsub __P((const regexp *, const char *, char *));
-void regerror __P((const char *));
+regexp *regcomp(const char *);
+int regexec(const regexp *, const char *);
+void regsub(const regexp *, const char *, char *);
+void regerror(const char *);
__END_DECLS
#endif /* !_REGEXP_H_ */
OpenPOWER on IntegriCloud