=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nfsstat/nfsstat.c,v retrieving revision 1.19 retrieving revision 1.20 diff -c -r1.19 -r1.20 *** src/usr.bin/nfsstat/nfsstat.c 2003/06/10 22:20:49 1.19 --- src/usr.bin/nfsstat/nfsstat.c 2003/06/26 21:59:10 1.20 *************** *** 1,4 **** ! /* $OpenBSD: nfsstat.c,v 1.19 2003/06/10 22:20:49 deraadt Exp $ */ /* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */ /* --- 1,4 ---- ! /* $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,50 **** 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 $"; #endif #endif /* not lint */ --- 44,50 ---- 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 $"; #endif #endif /* not lint */ *************** *** 347,353 **** struct nfsstats nfsstats, lastst; int hdrcnt; sigset_t emptyset; ! void catchalarm(); (void)signal(SIGALRM, catchalarm); signalled = 0; --- 347,353 ---- struct nfsstats nfsstats, lastst; int hdrcnt; sigset_t emptyset; ! void catchalarm(int); (void)signal(SIGALRM, catchalarm); signalled = 0; *************** *** 409,415 **** * Sets a flag to not wait for the alarm. */ void ! catchalarm(void) { signalled = 1; } --- 409,415 ---- * Sets a flag to not wait for the alarm. */ void ! catchalarm(int signo) { signalled = 1; }