projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
unistd
/
usleep.c
diff --git
a/src/unistd/usleep.c
b/src/unistd/usleep.c
index e386901719be1a38a777b8a5bf9889d29f254d62..6c96652691e0dabacacde4885f74466d2772a661 100644
(file)
--- a/
src/unistd/usleep.c
+++ b/
src/unistd/usleep.c
@@
-1,7
+1,8
@@
+#define _GNU_SOURCE
#include <unistd.h>
#include <time.h>
-int usleep(u
seconds_t
useconds)
+int usleep(u
nsigned
useconds)
{
struct timespec tv = {
.tv_sec = useconds/1000000,