summaryrefslogtreecommitdiffstats
path: root/larn/nap.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2012-06-19 05:30:43 +0000
committerdholland <dholland@NetBSD.org>2012-06-19 05:30:43 +0000
commit60030fd11e6c646dbc35c5254b2520d5af45288f (patch)
tree2d9c57e3deb2afa23793d42c8ba11c5b98398282 /larn/nap.c
parent98b4affa216164b77e59278a2b1cdc3deee77716 (diff)
downloadbsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.gz
bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.zip
WARNS=5
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 */