summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_screen.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/cl/cl_screen.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/cl/cl_screen.c')
-rw-r--r--usr.bin/vi/cl/cl_screen.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/vi/cl/cl_screen.c b/usr.bin/vi/cl/cl_screen.c
index 5a1ae7f1d31..6a475f07415 100644
--- a/usr.bin/vi/cl/cl_screen.c
+++ b/usr.bin/vi/cl/cl_screen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl_screen.c,v 1.12 2001/01/29 01:58:28 niklas Exp $ */
+/* $OpenBSD: cl_screen.c,v 1.13 2002/02/16 21:27:56 millert Exp $ */
/*-
* Copyright (c) 1993, 1994
@@ -31,18 +31,18 @@ static const char sccsid[] = "@(#)cl_screen.c 10.49 (Berkeley) 9/24/96";
#include "../common/common.h"
#include "cl.h"
-static int cl_ex_end __P((GS *));
-static int cl_ex_init __P((SCR *));
-static void cl_freecap __P((CL_PRIVATE *));
-static int cl_vi_end __P((GS *));
-static int cl_vi_init __P((SCR *));
-static int cl_putenv __P((char *, char *, u_long));
+static int cl_ex_end(GS *);
+static int cl_ex_init(SCR *);
+static void cl_freecap(CL_PRIVATE *);
+static int cl_vi_end(GS *);
+static int cl_vi_init(SCR *);
+static int cl_putenv(char *, char *, u_long);
/*
* cl_screen --
* Switch screen types.
*
- * PUBLIC: int cl_screen __P((SCR *, u_int32_t));
+ * PUBLIC: int cl_screen(SCR *, u_int32_t);
*/
int
cl_screen(sp, flags)
@@ -126,7 +126,7 @@ cl_screen(sp, flags)
* cl_quit --
* Shutdown the screens.
*
- * PUBLIC: int cl_quit __P((GS *));
+ * PUBLIC: int cl_quit(GS *);
*/
int
cl_quit(gp)
@@ -515,7 +515,7 @@ cl_ex_end(gp)
* cl_getcap --
* Retrieve termcap/terminfo strings.
*
- * PUBLIC: int cl_getcap __P((SCR *, char *, char **));
+ * PUBLIC: int cl_getcap(SCR *, char *, char **);
*/
int
cl_getcap(sp, name, elementp)