diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 21:59:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 21:59:12 +0000 |
commit | ef38a0e957c4e18974e4f95e9ca96458e557c58f (patch) | |
tree | faf2c38d4d78ee3f7c34405b2d21f433984fca46 /usr.bin/nfsstat | |
parent | f1352fa502cddfd41ce2f093a0b44a482e6ec5ad (diff) |
more proto fixes
Diffstat (limited to 'usr.bin/nfsstat')
-rw-r--r-- | usr.bin/nfsstat/nfsstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c index 5287d588615..a3e076d902c 100644 --- a/usr.bin/nfsstat/nfsstat.c +++ b/usr.bin/nfsstat/nfsstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsstat.c,v 1.19 2003/06/10 22:20:49 deraadt Exp $ */ +/* $OpenBSD: nfsstat.c,v 1.20 2003/06/26 21:59:10 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.19 2003/06/10 22:20:49 deraadt Exp $"; +static char *rcsid = "$OpenBSD: nfsstat.c,v 1.20 2003/06/26 21:59:10 deraadt Exp $"; #endif #endif /* not lint */ @@ -347,7 +347,7 @@ sidewaysintpr(u_int interval, u_int display) struct nfsstats nfsstats, lastst; int hdrcnt; sigset_t emptyset; - void catchalarm(); + void catchalarm(int); (void)signal(SIGALRM, catchalarm); signalled = 0; @@ -409,7 +409,7 @@ printhdr(void) * Sets a flag to not wait for the alarm. */ void -catchalarm(void) +catchalarm(int signo) { signalled = 1; } |