diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-14 23:25:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-14 23:25:35 +0000 |
commit | a98cecc4b213bead91cc9ed0fb450c257b070f56 (patch) | |
tree | aab998855cf5df6b37bf9bb63d46cb4fd6971d7d | |
parent | 5a15b22827ad65898bcc84527702e2db97bc2a30 (diff) |
ARGSUSED before signal handler with unused signo
-rw-r--r-- | usr.sbin/sensorsd/sensorsd.c | 5 | ||||
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/sensorsd/sensorsd.c b/usr.sbin/sensorsd/sensorsd.c index a1b95001f74..8e9a61aa6bb 100644 --- a/usr.sbin/sensorsd/sensorsd.c +++ b/usr.sbin/sensorsd/sensorsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensorsd.c,v 1.10 2004/04/11 20:02:00 otto Exp $ */ +/* $OpenBSD: sensorsd.c,v 1.11 2004/09/14 23:24:41 deraadt Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -317,8 +317,9 @@ get_val(char *buf, int upper, enum sensor_type type) return (rval); } +/* ARGSUSED */ void -reparse_cfg(int signum) +reparse_cfg(int signo) { reload = 1; } diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 35429b2aa5b..de3336be80c 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.82 2004/07/03 23:40:44 djm Exp $ */ +/* $OpenBSD: syslogd.c,v 1.83 2004/09/14 23:25:34 deraadt Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -39,7 +39,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #else -static const char rcsid[] = "$OpenBSD: syslogd.c,v 1.82 2004/07/03 23:40:44 djm Exp $"; +static const char rcsid[] = "$OpenBSD: syslogd.c,v 1.83 2004/09/14 23:25:34 deraadt Exp $"; #endif #endif /* not lint */ @@ -980,6 +980,7 @@ wallmsg(struct filed *f, struct iovec *iov) reenter = 0; } +/* ARGSUSED */ void reapchild(int signo) { @@ -1035,12 +1036,14 @@ dodie(int signo) WantDie = signo; } +/* ARGSUSED */ void domark(int signo) { MarkSet = 1; } +/* ARGSUSED */ void doinit(int signo) { |