summaryrefslogtreecommitdiff
path: root/usr.bin/cut/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/cut/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/cut/cut.c')
-rw-r--r--usr.bin/cut/cut.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/cut/cut.c b/usr.bin/cut/cut.c
index dce652e164e..064bc3e97a5 100644
--- a/usr.bin/cut/cut.c
+++ b/usr.bin/cut/cut.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cut.c,v 1.8 2001/11/19 19:02:13 mpech Exp $ */
+/* $OpenBSD: cut.c,v 1.9 2002/02/16 21:27:45 millert Exp $ */
/* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cut.c 8.3 (Berkeley) 5/4/95";
#endif
-static char rcsid[] = "$OpenBSD: cut.c,v 1.8 2001/11/19 19:02:13 mpech Exp $";
+static char rcsid[] = "$OpenBSD: cut.c,v 1.9 2002/02/16 21:27:45 millert Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -66,10 +66,10 @@ int dflag;
int fflag;
int sflag;
-void c_cut __P((FILE *, char *));
-void f_cut __P((FILE *, char *));
-void get_list __P((char *));
-void usage __P((void));
+void c_cut(FILE *, char *);
+void f_cut(FILE *, char *);
+void get_list(char *);
+void usage(void);
int
main(argc, argv)
@@ -77,7 +77,7 @@ main(argc, argv)
char *argv[];
{
FILE *fp;
- void (*fcn) __P((FILE *, char *));
+ void (*fcn)(FILE *, char *);
int ch;
setlocale (LC_ALL, "");