diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-14 22:29:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-14 22:29:05 +0000 |
commit | efb41b6b9f175ee28ebbae3623b30aebf982dc28 (patch) | |
tree | 8e440bb1ec626a1a927a0974d4b318981a5324ec | |
parent | e9864a03fb514e62e6063402e6a716607a01ca4a (diff) |
ARGSUSED before signal handler with unused signo
-rw-r--r-- | usr.sbin/portmap/portmap.c | 5 | ||||
-rw-r--r-- | usr.sbin/sliplogin/sliplogin.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c index a50f20b51ae..107d7a57b9f 100644 --- a/usr.sbin/portmap/portmap.c +++ b/usr.sbin/portmap/portmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: portmap.c,v 1.31 2004/03/16 01:11:09 tedu Exp $ */ +/* $OpenBSD: portmap.c,v 1.32 2004/09/14 22:28:50 deraadt Exp $ */ /*- * Copyright (c) 1996, 1997 Theo de Raadt (OpenBSD). All rights reserved. @@ -40,7 +40,7 @@ char copyright[] = #if 0 static char sccsid[] = "from: @(#)portmap.c 5.4 (Berkeley) 4/19/91"; #else -static char rcsid[] = "$OpenBSD: portmap.c,v 1.31 2004/03/16 01:11:09 tedu Exp $"; +static char rcsid[] = "$OpenBSD: portmap.c,v 1.32 2004/09/14 22:28:50 deraadt Exp $"; #endif #endif /* not lint */ @@ -651,6 +651,7 @@ callit(struct svc_req *rqstp, SVCXPRT *xprt) exit(0); } +/* ARGSUSED */ void reap(int signo) { diff --git a/usr.sbin/sliplogin/sliplogin.c b/usr.sbin/sliplogin/sliplogin.c index 3b874127a7a..b485f8d7d54 100644 --- a/usr.sbin/sliplogin/sliplogin.c +++ b/usr.sbin/sliplogin/sliplogin.c @@ -35,7 +35,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)sliplogin.c 5.6 (Berkeley) 3/2/91";*/ -static char rcsid[] = "$Id: sliplogin.c,v 1.24 2004/01/23 03:48:43 deraadt Exp $"; +static char rcsid[] = "$Id: sliplogin.c,v 1.25 2004/09/14 22:29:04 deraadt Exp $"; #endif /* not lint */ /* @@ -172,8 +172,9 @@ sigstr(int s) volatile sig_atomic_t die; +/* ARGSUSED */ void -hup_handler(int s) +hup_handler(int signo) { die = 1; } |