uClinux: Add another missing system call wrapper.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2013-06-14 11:47:58 +02:00
parent d6d6a9ba64
commit f394e1796d
1 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,13 @@ static inline int clock_adjtime(clockid_t id, struct timex *tx)
#else
static inline int clock_nanosleep(clockid_t clock_id, int flags,
const struct timespec *request,
struct timespec *remain)
{
return syscall(__NR_clock_nanosleep, clock_id, flags, request, remain);
}
static inline int timerfd_create(int clockid, int flags)
{
return syscall(__NR_timerfd_create, clockid, flags);