diff options
Diffstat (limited to 'src/time/nanosleep.c')
-rw-r--r-- | src/time/nanosleep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c index bc9f7895..ab800ae4 100644 --- a/src/time/nanosleep.c +++ b/src/time/nanosleep.c @@ -5,3 +5,11 @@ int nanosleep(const struct timespec *req, struct timespec *rem) { return __syscall_ret(-__clock_nanosleep(CLOCK_REALTIME, 0, req, rem)); } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |