summaryrefslogtreecommitdiffstats
path: root/usr.bin/ruptime
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:33:25 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:33:25 +0000
commit1698cb216e2d4ca62662103eba0191f134923698 (patch)
treebdbefa52f70f43a70ad528a58194f71ca4abf1e3 /usr.bin/ruptime
parent74d826c7a6e9f98072df5f7dba2b84aa516fe425 (diff)
downloadFreeBSD-src-1698cb216e2d4ca62662103eba0191f134923698.zip
FreeBSD-src-1698cb216e2d4ca62662103eba0191f134923698.tar.gz
remove __P
Diffstat (limited to 'usr.bin/ruptime')
-rw-r--r--usr.bin/ruptime/ruptime.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c
index d573835..4144193 100644
--- a/usr.bin/ruptime/ruptime.c
+++ b/usr.bin/ruptime/ruptime.c
@@ -72,13 +72,13 @@ size_t nhosts;
time_t now;
int rflg = 1;
-int hscmp __P((const void *, const void *));
-char *interval __P((time_t, char *));
-int lcmp __P((const void *, const void *));
-void morehosts __P((void));
-int tcmp __P((const void *, const void *));
-int ucmp __P((const void *, const void *));
-void usage __P((void));
+int hscmp(const void *, const void *);
+char *interval(time_t, char *);
+int lcmp(const void *, const void *);
+void morehosts(void);
+int tcmp(const void *, const void *);
+int ucmp(const void *, const void *);
+void usage(void);
int
main(argc, argv)
@@ -93,7 +93,7 @@ main(argc, argv)
size_t hspace;
int aflg, cc, ch, fd, i, maxloadav;
char buf[sizeof(struct whod)];
- int (*cmp) __P((const void *, const void *));
+ int (*cmp)(const void *, const void *);
aflg = 0;
cmp = hscmp;
OpenPOWER on IntegriCloud