Add missing function prototypes in time.h
Add clock_settime() and clock_nanosleep() function prototypes in time.h. Change-Id: I0eb45e465b3b48b9d4f3a4a8109a6f2d9c4f8ce2 Signed-off-by: Haruki Hasegawa <h6a.h4i.0@gmail.com>
This commit is contained in:
committed by
Andrew Hsieh
parent
bb148d92db
commit
13af1d8c37
@@ -85,8 +85,10 @@ extern void tzset(void) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern clock_t clock(void) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern int clock_getres(int, struct timespec*) __LIBC_ABI_PUBLIC__;
|
||||
extern int clock_gettime(int, struct timespec*) __LIBC_ABI_PUBLIC__;
|
||||
extern int clock_getres(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__;
|
||||
extern int clock_gettime(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__;
|
||||
extern int clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*) __LIBC_ABI_PUBLIC__;
|
||||
extern int clock_settime(clockid_t, const struct timespec*) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern int timer_create(int, struct sigevent*, timer_t*) __LIBC_ABI_PUBLIC__;
|
||||
extern int timer_delete(timer_t) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
Reference in New Issue
Block a user