summaryrefslogtreecommitdiff
path: root/usr.bin/w/w.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/w/w.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/w/w.c')
-rw-r--r--usr.bin/w/w.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 1b8b7dbde29..7b99d2a9ccc 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w.c,v 1.34 2001/07/12 05:17:31 deraadt Exp $ */
+/* $OpenBSD: w.c,v 1.35 2002/02/16 21:27:58 millert Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
#else
-static char *rcsid = "$OpenBSD: w.c,v 1.34 2001/07/12 05:17:31 deraadt Exp $";
+static char *rcsid = "$OpenBSD: w.c,v 1.35 2002/02/16 21:27:58 millert Exp $";
#endif
#endif /* not lint */
@@ -114,11 +114,11 @@ struct entry {
struct kinfo_proc *kp; /* `most interesting' proc */
} *ep, *ehead = NULL, **nextp = &ehead;
-static void pr_args __P((struct kinfo_proc *));
-static void pr_header __P((time_t *, int));
+static void pr_args(struct kinfo_proc *);
+static void pr_header(time_t *, int);
static struct stat
- *ttystat __P((char *));
-static void usage __P((int));
+ *ttystat(char *);
+static void usage(int);
int
main(argc, argv)