summaryrefslogtreecommitdiff
path: root/usr.bin/nfsstat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-07 21:36:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-07 21:36:53 +0000
commit83036cf1c12eac42e9fcb4e6691ecc46dc8e654e (patch)
treec5d3ac18eb1b07a15bce95ace0ce7adb91c6f596 /usr.bin/nfsstat
parenta738290cbdde31b237de1a4fec2f5511fdf9ead7 (diff)
protos
Diffstat (limited to 'usr.bin/nfsstat')
-rw-r--r--usr.bin/nfsstat/nfsstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index a3e076d902c..24de2bfc461 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsstat.c,v 1.20 2003/06/26 21:59:10 deraadt Exp $ */
+/* $OpenBSD: nfsstat.c,v 1.21 2003/07/07 21:36:52 deraadt Exp $ */
/* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
static char sccsid[] = "from: @(#)nfsstat.c 8.1 (Berkeley) 6/6/93";
static char *rcsid = "$NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $";
#else
-static char *rcsid = "$OpenBSD: nfsstat.c,v 1.20 2003/06/26 21:59:10 deraadt Exp $";
+static char *rcsid = "$OpenBSD: nfsstat.c,v 1.21 2003/07/07 21:36:52 deraadt Exp $";
#endif
#endif /* not lint */
@@ -86,6 +86,7 @@ void printhdr(void);
void intpr(u_int);
void sidewaysintpr(u_int, u_int);
void usage(void);
+void catchalarm(int);
int
main(int argc, char *argv[])
@@ -347,7 +348,6 @@ sidewaysintpr(u_int interval, u_int display)
struct nfsstats nfsstats, lastst;
int hdrcnt;
sigset_t emptyset;
- void catchalarm(int);
(void)signal(SIGALRM, catchalarm);
signalled = 0;