summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common/search.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.bin/vi/common/search.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
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 'usr.bin/vi/common/search.c')
-rw-r--r--usr.bin/vi/common/search.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/vi/common/search.c b/usr.bin/vi/common/search.c
index 27dbb504b32..72effe783ad 100644
--- a/usr.bin/vi/common/search.c
+++ b/usr.bin/vi/common/search.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: search.c,v 1.5 2001/01/29 01:58:32 niklas Exp $ */
+/* $OpenBSD: search.c,v 1.6 2002/02/16 21:27:57 millert Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -31,8 +31,8 @@ static const char sccsid[] = "@(#)search.c 10.25 (Berkeley) 6/30/96";
typedef enum { S_EMPTY, S_EOF, S_NOPREV, S_NOTFOUND, S_SOF, S_WRAP } smsg_t;
-static void search_msg __P((SCR *, smsg_t));
-static int search_init __P((SCR *, dir_t, char *, size_t, char **, u_int));
+static void search_msg(SCR *, smsg_t);
+static int search_init(SCR *, dir_t, char *, size_t, char **, u_int);
/*
* search_init --
@@ -483,7 +483,7 @@ search_msg(sp, msg)
* search_busy --
* Put up the busy searching message.
*
- * PUBLIC: void search_busy __P((SCR *, busy_t));
+ * PUBLIC: void search_busy(SCR *, busy_t);
*/
void
search_busy(sp, btype)