summaryrefslogtreecommitdiffstats
path: root/larn/nap.c
diff options
context:
space:
mode:
Diffstat (limited to 'larn/nap.c')
-rw-r--r--larn/nap.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/larn/nap.c b/larn/nap.c
index c4b3c56a..1bd11ea6 100644
--- a/larn/nap.c
+++ b/larn/nap.c
@@ -1,9 +1,9 @@
-/* $NetBSD: nap.c,v 1.5 1997/10/18 20:03:36 christos Exp $ */
+/* $NetBSD: nap.c,v 1.6 2012/06/19 05:30:43 dholland Exp $ */
/* nap.c Larn is copyrighted 1986 by Noah Morgan. */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: nap.c,v 1.5 1997/10/18 20:03:36 christos Exp $");
+__RCSID("$NetBSD: nap.c,v 1.6 2012/06/19 05:30:43 dholland Exp $");
#endif /* not lint */
#include <unistd.h>
@@ -14,8 +14,7 @@ __RCSID("$NetBSD: nap.c,v 1.5 1997/10/18 20:03:36 christos Exp $");
* routine to take a nap for n milliseconds
*/
void
-nap(x)
- int x;
+nap(int x)
{
if (x <= 0)
return; /* eliminate chance for infinite loop */