summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sort/sort.c5
-rw-r--r--usr.bin/top/top.c6
-rw-r--r--usr.bin/usbhidaction/usbhidaction.c5
3 files changed, 11 insertions, 5 deletions
diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c
index 0ce11eb58c5..a1dc80ec3c3 100644
--- a/usr.bin/sort/sort.c
+++ b/usr.bin/sort/sort.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sort.c,v 1.23 2004/03/17 18:24:49 mickey Exp $ */
+/* $OpenBSD: sort.c,v 1.24 2004/09/14 22:57:21 deraadt Exp $ */
/*-
* Copyright (c) 1993
@@ -42,7 +42,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sort.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: sort.c,v 1.23 2004/03/17 18:24:49 mickey Exp $";
+static char rcsid[] = "$OpenBSD: sort.c,v 1.24 2004/09/14 22:57:21 deraadt Exp $";
#endif
#endif /* not lint */
@@ -306,6 +306,7 @@ main(int argc, char *argv[])
exit(0);
}
+/* ARGSUSED */
static void
onsig(int signo)
{
diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
index 8161724b272..8c62a129883 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: top.c,v 1.33 2004/05/09 22:16:26 deraadt Exp $ */
+/* $OpenBSD: top.c,v 1.34 2004/09/14 22:55:48 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -825,24 +825,28 @@ reset_display(void)
d_process = i_process;
}
+/* ARGSUSED */
void
leave(int signo)
{
leaveflag = 1;
}
+/* ARGSUSED */
void
tstop(int signo)
{
tstopflag = 1;
}
+/* ARGSUSED */
void
winch(int signo)
{
winchflag = 1;
}
+/* ARGSUSED */
void
onalrm(int signo)
{
diff --git a/usr.bin/usbhidaction/usbhidaction.c b/usr.bin/usbhidaction/usbhidaction.c
index e2ae2473396..69d4e89b05d 100644
--- a/usr.bin/usbhidaction/usbhidaction.c
+++ b/usr.bin/usbhidaction/usbhidaction.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhidaction.c,v 1.4 2004/06/04 00:47:32 deraadt Exp $ */
+/* $OpenBSD: usbhidaction.c,v 1.5 2004/09/14 22:59:26 deraadt Exp $ */
/* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */
/*
@@ -77,8 +77,9 @@ struct command *parse_conf(const char *, report_desc_t, int, int);
void docmd(struct command *, int, const char *, int, char **);
void freecommands(struct command *);
+/* ARGSUSED */
static void
-sighup(int sig)
+sighup(int signo)
{
reparse = 1;
}