Prototype sleephandler

Fix RCSID's
This commit is contained in:
christos 1997-07-13 19:31:25 +00:00
parent 93f2294467
commit 918197d3b3

View File

@ -1,4 +1,4 @@
/* $NetBSD: sleep.c,v 1.15 1996/08/02 17:52:50 phil Exp $ */
/* $NetBSD: sleep.c,v 1.16 1997/07/13 19:31:25 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@ -33,11 +33,12 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
#if 0
static char sccsid[] = "@(#)sleep.c 8.1 (Berkeley) 6/4/93";
#else
static char rcsid[] = "$NetBSD: sleep.c,v 1.15 1996/08/02 17:52:50 phil Exp $";
__RCSID("$NetBSD: sleep.c,v 1.16 1997/07/13 19:31:25 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -46,6 +47,7 @@ static char rcsid[] = "$NetBSD: sleep.c,v 1.15 1996/08/02 17:52:50 phil Exp $";
#include <unistd.h>
static volatile int ringring;
static void sleephandler __P((int));
unsigned int
sleep(seconds)
@ -55,7 +57,6 @@ sleep(seconds)
struct sigaction act, oact;
struct timeval diff;
sigset_t set, oset;
static void sleephandler();
if (!seconds)
return 0;
@ -127,7 +128,8 @@ sleep(seconds)
}
static void
sleephandler()
sleephandler(n)
int n;
{
ringring = 1;
}