$NetBSD: patch-as,v 1.1.1.1 2001/04/27 15:27:31 agc Exp $ --- nap.c.orig Sat Jan 13 20:39:28 2001 +++ nap.c Sat Jan 13 20:38:50 2001 @@ -1,12 +1,14 @@ /* nap.c */ +#include #include "header.h" +#include "extern.h" int nonap = 0; /* * routine to take a nap for n milliseconds */ -nap(x) +void nap(x) int x; { if (x<=0 || nonap) @@ -23,7 +25,7 @@ SIGTYPE nullf(sig)int sig; { } /* napms - sleep for time milliseconds - uses setitimer() */ -napms(time) +void napms(time) int time; { struct itimerval timeout; @@ -48,7 +50,7 @@ # ifdef FTIMER /* napms - sleep for time milliseconds - uses ftime() */ -napms(time) +void napms(time) int time; { struct timeb _gtime; @@ -75,7 +77,7 @@ # else /* FTIMER */ # ifdef HZ /* napms - sleep for time milliseconds - uses times() */ -napms(time) +void napms(time) int time; { long matchclock, times(); @@ -90,7 +92,7 @@ ; } # else -napms(x) int x; {} +void napms(x) int x; {} # endif /* HZ */ # endif /* FTIMER */ #endif /* ITIMER */