summaryrefslogtreecommitdiffstats
path: root/usr.bin/vi/vi/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/vi/vi.c')
-rw-r--r--usr.bin/vi/vi/vi.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/vi/vi/vi.c b/usr.bin/vi/vi/vi.c
index 9cca2998160..7fe4483d7c5 100644
--- a/usr.bin/vi/vi/vi.c
+++ b/usr.bin/vi/vi/vi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vi.c,v 1.8 2001/01/29 01:58:54 niklas Exp $ */
+/* $OpenBSD: vi.c,v 1.9 2002/02/16 21:27:58 millert Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -36,17 +36,17 @@ typedef enum {
} gcret_t;
static VIKEYS const
- *v_alias __P((SCR *, VICMD *, VIKEYS const *));
-static gcret_t v_cmd __P((SCR *, VICMD *, VICMD *, VICMD *, int *, int *));
-static int v_count __P((SCR *, ARG_CHAR_T, u_long *));
-static void v_dtoh __P((SCR *));
-static int v_init __P((SCR *));
-static gcret_t v_key __P((SCR *, int, EVENT *, u_int32_t));
-static int v_keyword __P((SCR *));
-static int v_motion __P((SCR *, VICMD *, VICMD *, int *));
+ *v_alias(SCR *, VICMD *, VIKEYS const *);
+static gcret_t v_cmd(SCR *, VICMD *, VICMD *, VICMD *, int *, int *);
+static int v_count(SCR *, ARG_CHAR_T, u_long *);
+static void v_dtoh(SCR *);
+static int v_init(SCR *);
+static gcret_t v_key(SCR *, int, EVENT *, u_int32_t);
+static int v_keyword(SCR *);
+static int v_motion(SCR *, VICMD *, VICMD *, int *);
#if defined(DEBUG) && defined(COMLOG)
-static void v_comlog __P((SCR *, VICMD *));
+static void v_comlog(SCR *, VICMD *);
#endif
/*
@@ -61,7 +61,7 @@ static void v_comlog __P((SCR *, VICMD *));
* vi --
* Main vi command loop.
*
- * PUBLIC: int vi __P((SCR **));
+ * PUBLIC: int vi(SCR **);
*/
int
vi(spp)