=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nfsstat/nfsstat.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/usr.bin/nfsstat/nfsstat.c 2003/06/26 21:59:10 1.20 +++ src/usr.bin/nfsstat/nfsstat.c 2003/07/07 21:36:52 1.21 @@ -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 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 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 @@ struct nfsstats nfsstats, lastst; int hdrcnt; sigset_t emptyset; - void catchalarm(int); (void)signal(SIGALRM, catchalarm); signalled = 0;