summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/sleep.c2
-rw-r--r--libc/unistd/usleep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 92944af18..4381c45c7 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -30,7 +30,7 @@ libc_hidden_proto(sigprocmask)
//libc_hidden_proto(__sigaddset)
//libc_hidden_proto(__sigemptyset)
//libc_hidden_proto(__sigismember)
-libc_hidden_proto(nanosleep)
+/*libc_hidden_proto(nanosleep) need the reloc for cancellation*/
#if 0
/* This is a quick and dirty, but not 100% compliant with
diff --git a/libc/unistd/usleep.c b/libc/unistd/usleep.c
index 09bb09f41..91b88278d 100644
--- a/libc/unistd/usleep.c
+++ b/libc/unistd/usleep.c
@@ -9,7 +9,7 @@
#include <sys/types.h>
#include <unistd.h>
-libc_hidden_proto(nanosleep)
+/*libc_hidden_proto(nanosleep) need the reloc for cancellation*/
int usleep (__useconds_t usec)
{