summaryrefslogtreecommitdiff
path: root/libc/unistd/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/sleep.c')
-rw-r--r--libc/unistd/sleep.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 4d55d843d..de4c14a24 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -23,17 +23,13 @@
#include <signal.h>
#include <unistd.h>
-/* libc_hidden_proto(sleep) */
-/* libc_hidden_proto(sigaction) */
-/* libc_hidden_proto(sigprocmask) */
/* version perusing nanosleep */
#if defined __UCLIBC_HAS_REALTIME__
//libc_hidden_proto(__sigaddset)
//libc_hidden_proto(__sigemptyset)
//libc_hidden_proto(__sigismember)
-/*libc_hidden_proto(nanosleep) need the reloc for cancellation*/
#if 0
/* This is a quick and dirty, but not 100% compliant with
@@ -109,7 +105,6 @@ unsigned int sleep (unsigned int seconds)
}
#endif
#else /* __UCLIBC_HAS_REALTIME__ */
-/* libc_hidden_proto(sigaction) */
/* no nanosleep, use signals and alarm() */
static void sleep_alarm_handler(int attribute_unused sig)
{