summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common/cut.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/cut.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/cut.c')
-rw-r--r--usr.bin/vi/common/cut.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/vi/common/cut.c b/usr.bin/vi/common/cut.c
index b952db5e334..32a5fb512f1 100644
--- a/usr.bin/vi/common/cut.c
+++ b/usr.bin/vi/common/cut.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cut.c,v 1.6 2002/01/31 11:10:39 hugh Exp $ */
+/* $OpenBSD: cut.c,v 1.7 2002/02/16 21:27:56 millert Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -29,7 +29,7 @@ static const char sccsid[] = "@(#)cut.c 10.10 (Berkeley) 9/15/96";
#include "common.h"
-static void cb_rotate __P((SCR *));
+static void cb_rotate(SCR *);
/*
* cut --
@@ -63,7 +63,7 @@ static void cb_rotate __P((SCR *));
* replacing the contents. Hopefully it's not worth getting right, and here
* we just treat the numeric buffers like any other named buffer.
*
- * PUBLIC: int cut __P((SCR *, CHAR_T *, MARK *, MARK *, int));
+ * PUBLIC: int cut(SCR *, CHAR_T *, MARK *, MARK *, int);
*/
int
cut(sp, namep, fm, tm, flags)
@@ -239,7 +239,7 @@ cb_rotate(sp)
* cut_line --
* Cut a portion of a single line.
*
- * PUBLIC: int cut_line __P((SCR *, recno_t, size_t, size_t, CB *));
+ * PUBLIC: int cut_line(SCR *, recno_t, size_t, size_t, CB *);
*/
int
cut_line(sp, lno, fcno, clen, cbp)
@@ -282,7 +282,7 @@ cut_line(sp, lno, fcno, clen, cbp)
* cut_close --
* Discard all cut buffers.
*
- * PUBLIC: void cut_close __P((GS *));
+ * PUBLIC: void cut_close(GS *);
*/
void
cut_close(gp)
@@ -308,7 +308,7 @@ cut_close(gp)
* text_init --
* Allocate a new TEXT structure.
*
- * PUBLIC: TEXT *text_init __P((SCR *, const char *, size_t, size_t));
+ * PUBLIC: TEXT *text_init(SCR *, const char *, size_t, size_t);
*/
TEXT *
text_init(sp, p, len, total_len)
@@ -339,7 +339,7 @@ text_init(sp, p, len, total_len)
* text_lfree --
* Free a chain of text structures.
*
- * PUBLIC: void text_lfree __P((TEXTH *));
+ * PUBLIC: void text_lfree(TEXTH *);
*/
void
text_lfree(headp)
@@ -357,7 +357,7 @@ text_lfree(headp)
* text_free --
* Free a text structure.
*
- * PUBLIC: void text_free __P((TEXT *));
+ * PUBLIC: void text_free(TEXT *);
*/
void
text_free(tp)