summaryrefslogtreecommitdiff
path: root/src/time/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/nanosleep.c')
-rw-r--r--src/time/nanosleep.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c
index 2e76fa6a..4519b915 100644
--- a/src/time/nanosleep.c
+++ b/src/time/nanosleep.c
@@ -1,16 +1,13 @@
-#if 0
-
#include <time.h>
+#include "_safety.h"
#include "_syscall.h"
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
{
+ SIGNAL_SAFE(0);
SYSCALL(nanosleep, int, -1, rqtp, rmtp, 0, 0, 0, 0);
}
/*
POSIX(199309)
*/
-
-
-#endif