From 60030fd11e6c646dbc35c5254b2520d5af45288f Mon Sep 17 00:00:00 2001 From: dholland Date: Tue, 19 Jun 2012 05:30:43 +0000 Subject: WARNS=5 --- larn/nap.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'larn/nap.c') 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 #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 @@ -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 */ -- cgit v1.2.3