summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/usleep.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-05 19:31:38 +0000
committered <ed@FreeBSD.org>2009-12-05 19:31:38 +0000
commit06fcc20479dbea7b80fde60d667c7455ca58c451 (patch)
tree7888f1fc2bd55cbcf966048d3b4db70a78bdb2b3 /lib/libc/gen/usleep.c
parente912442e98904e4d3d77ac344f9a353688ca3e9f (diff)
downloadFreeBSD-src-06fcc20479dbea7b80fde60d667c7455ca58c451.zip
FreeBSD-src-06fcc20479dbea7b80fde60d667c7455ca58c451.tar.gz
Fix many "function declaration isn't a prototype" warnings in libc.
I've only fixed code that seems to be written by `us'. There are still many warnings like this present in resolv/, rpc/, stdtime/ and yp/.
Diffstat (limited to 'lib/libc/gen/usleep.c')
-rw-r--r--lib/libc/gen/usleep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/usleep.c b/lib/libc/gen/usleep.c
index 0454665..7d6559b 100644
--- a/lib/libc/gen/usleep.c
+++ b/lib/libc/gen/usleep.c
@@ -39,8 +39,7 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
int
-__usleep(useconds)
- useconds_t useconds;
+__usleep(useconds_t useconds)
{
struct timespec time_to_sleep;
OpenPOWER on IntegriCloud