aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/w
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
commit3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41 (patch)
treef17746dd42b66c7b55fe407e00b5fc176ebe67a5 /usr.bin/w
parentd3cb5ded92a4fcf21400c9742ca884549bebc99e (diff)
downloadsrc-3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41.tar.gz
src-3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41.zip
remove __P
Notes
Notes: svn path=/head/; revision=92922
Diffstat (limited to 'usr.bin/w')
-rw-r--r--usr.bin/w/extern.h6
-rw-r--r--usr.bin/w/w.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/w/extern.h b/usr.bin/w/extern.h
index 436b194f1a0d..070d055b0616 100644
--- a/usr.bin/w/extern.h
+++ b/usr.bin/w/extern.h
@@ -38,6 +38,6 @@
extern int use_ampm;
struct kinfo_proc;
-void pr_attime __P((time_t *, time_t *));
-int pr_idle __P((time_t));
-int proc_compare __P((struct kinfo_proc *, struct kinfo_proc *));
+void pr_attime(time_t *, time_t *);
+int pr_idle(time_t);
+int proc_compare(struct kinfo_proc *, struct kinfo_proc *);
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 35bac6013c6b..9a16140096d5 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -121,12 +121,12 @@ struct entry {
/* W_DISPHOSTSIZE should not be greater than UT_HOSTSIZE */
#define W_DISPHOSTSIZE 16
-static void pr_header __P((time_t *, int));
-static struct stat *ttystat __P((char *, int));
-static void usage __P((int));
-static int this_is_uptime __P((const char *s));
+static void pr_header(time_t *, int);
+static struct stat *ttystat(char *, int);
+static void usage(int);
+static int this_is_uptime(const char *s);
-char *fmt_argv __P((char **, char *, int)); /* ../../bin/ps/fmt.c */
+char *fmt_argv(char **, char *, int); /* ../../bin/ps/fmt.c */
int
main(argc, argv)