summaryrefslogtreecommitdiffstats
path: root/lib/libedit/search.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libedit/search.c
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libedit/search.c')
-rw-r--r--lib/libedit/search.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/search.c b/lib/libedit/search.c
index 06976ae33fe..c157c19cc88 100644
--- a/lib/libedit/search.c
+++ b/lib/libedit/search.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: search.c,v 1.4 1997/06/29 23:40:51 millert Exp $ */
+/* $OpenBSD: search.c,v 1.5 2002/02/16 21:27:26 millert Exp $ */
/* $NetBSD: search.c,v 1.4 1997/01/23 14:02:47 mrg Exp $ */
/*-
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)search.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: search.c,v 1.4 1997/06/29 23:40:51 millert Exp $";
+static char rcsid[] = "$OpenBSD: search.c,v 1.5 2002/02/16 21:27:26 millert Exp $";
#endif
#endif /* not lint && not SCCSID */
@@ -118,8 +118,8 @@ el_match(str, pat)
regexp *rp;
int rv;
#else
- extern char *re_comp __P((const char *));
- extern int re_exec __P((const char *));
+ extern char *re_comp(const char *);
+ extern int re_exec(const char *);
#endif
if (strstr(str, pat) != NULL)