summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-14 22:06:19 +0000
committerderaadt <deraadt@openbsd.org>2004-09-14 22:06:19 +0000
commit8402db9945d16ced3533ce8f6f9fbad2fd94b662 (patch)
tree90a04ce33d950d39828cd423bb93e7d8c475032e
parentpage for pdc. major functions described. more work needed (diff)
downloadwireguard-openbsd-8402db9945d16ced3533ce8f6f9fbad2fd94b662.tar.xz
wireguard-openbsd-8402db9945d16ced3533ce8f6f9fbad2fd94b662.zip
ARGSUSED before signal handler with unused signo
-rw-r--r--bin/rcp/util.c5
-rw-r--r--libexec/comsat/comsat.c6
-rw-r--r--libexec/identd/identd.c3
-rw-r--r--sbin/nfsd/nfsd.c6
4 files changed, 13 insertions, 7 deletions
diff --git a/bin/rcp/util.c b/bin/rcp/util.c
index 48042248a66..8686b09d4c5 100644
--- a/bin/rcp/util.c
+++ b/bin/rcp/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.14 2003/09/26 00:48:44 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.15 2004/09/14 22:06:19 deraadt Exp $ */
/* $NetBSD: util.c,v 1.2 1995/03/21 08:19:08 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
#else
-static const char rcsid[] = "$OpenBSD: util.c,v 1.14 2003/09/26 00:48:44 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: util.c,v 1.15 2004/09/14 22:06:19 deraadt Exp $";
#endif
#endif /* not lint */
@@ -156,6 +156,7 @@ allocbuf(BUF *bp, int fd, int blksize)
return (bp);
}
+/* ARGSUSED */
void
lostconn(int signo)
{
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c
index e253918ab00..31e90690973 100644
--- a/libexec/comsat/comsat.c
+++ b/libexec/comsat/comsat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: comsat.c,v 1.31 2003/09/26 01:58:55 deraadt Exp $ */
+/* $OpenBSD: comsat.c,v 1.32 2004/09/14 22:14:13 deraadt Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$OpenBSD: comsat.c,v 1.31 2003/09/26 01:58:55 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: comsat.c,v 1.32 2004/09/14 22:14:13 deraadt Exp $";
#endif /* not lint */
#include <sys/limits.h>
@@ -152,6 +152,7 @@ main(int argc, char *argv[])
}
}
+/* ARGSUSED */
void
reapchildren(int signo)
{
@@ -162,6 +163,7 @@ reapchildren(int signo)
errno = save_errno;
}
+/* ARGSUSED */
void
readutmp(int signo)
{
diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c
index 37c28f102a6..59d50d50ab4 100644
--- a/libexec/identd/identd.c
+++ b/libexec/identd/identd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: identd.c,v 1.38 2004/08/08 19:32:45 deraadt Exp $ */
+/* $OpenBSD: identd.c,v 1.39 2004/09/14 22:14:29 deraadt Exp $ */
/*
* This program is in the public domain and may be used freely by anyone
@@ -132,6 +132,7 @@ volatile sig_atomic_t alarm_fired;
/*
* Exit cleanly after our time's up.
*/
+/* ARGSUSED */
static void
alarm_handler(int notused)
{
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c
index b66a0885a1e..ebf01da3b86 100644
--- a/sbin/nfsd/nfsd.c
+++ b/sbin/nfsd/nfsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsd.c,v 1.24 2004/05/10 15:26:49 deraadt Exp $ */
+/* $OpenBSD: nfsd.c,v 1.25 2004/09/14 22:09:52 deraadt Exp $ */
/* $NetBSD: nfsd.c,v 1.19 1996/02/18 23:18:56 mycroft Exp $ */
/*
@@ -43,7 +43,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95";
#else
-static const char rcsid[] = "$OpenBSD: nfsd.c,v 1.24 2004/05/10 15:26:49 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: nfsd.c,v 1.25 2004/09/14 22:09:52 deraadt Exp $";
#endif
#endif /* not lint */
@@ -336,6 +336,7 @@ usage(void)
exit(1);
}
+/* ARGSUSED */
void
nonfs(int signo)
{
@@ -346,6 +347,7 @@ nonfs(int signo)
errno = save_errno;
}
+/* ARGSUSED */
void
reapchild(int signo)
{