diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-16 08:35:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-16 08:35:50 +0000 |
commit | b6acf789efefab0abfbb4af55c22399b432dc5b3 (patch) | |
tree | b43513052f96b56199743e998af70ab00f1daa0c /bin/sleep | |
parent | d39f4dbc575e1fb9d7cd9dc0534fd8e4bfe72ea1 (diff) |
ARGSUSED on signal handler
Diffstat (limited to 'bin/sleep')
-rw-r--r-- | bin/sleep/sleep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c index c479135861d..c35df946d7e 100644 --- a/bin/sleep/sleep.c +++ b/bin/sleep/sleep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sleep.c,v 1.16 2003/06/02 23:32:09 millert Exp $ */ +/* $OpenBSD: sleep.c,v 1.17 2004/09/16 08:35:49 deraadt Exp $ */ /* $NetBSD: sleep.c,v 1.8 1995/03/21 09:11:11 cgd Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)sleep.c 8.3 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: sleep.c,v 1.16 2003/06/02 23:32:09 millert Exp $"; +static char rcsid[] = "$OpenBSD: sleep.c,v 1.17 2004/09/16 08:35:49 deraadt Exp $"; #endif #endif /* not lint */ @@ -135,8 +135,9 @@ usage(void) * POSIX 1003.2 says sleep should exit with 0 return code on reception * of SIGALRM. */ +/* ARGSUSED */ void -alarmh(int sigraised) +alarmh(int signo) { /* * exit() flushes stdio buffers, which is not legal in a signal |