workaround for gcc's optimizer breaking dynamic symbol resolution
[musl] / src / time / clock_nanosleep.c
1 #include <time.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 int clock_nanosleep(clockid_t clk, int flags, const struct timespec *req, struct timespec *rem)
6 {
7         return -__syscall_cp(SYS_clock_nanosleep, clk, flags, req, rem);
8 }