diff options
-rw-r--r-- | include/time.h | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/clock_getres.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 8fca37b55..f6863ed84 100644 --- a/include/time.h +++ b/include/time.h @@ -340,6 +340,7 @@ extern int nanosleep (__const struct timespec *__requested_time, /* Get resolution of clock CLOCK_ID. */ extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW; +libc_hidden_proto(clock_getres) /* Get current value of clock CLOCK_ID and store it in TP. */ extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW; diff --git a/libc/sysdeps/linux/common/clock_getres.c b/libc/sysdeps/linux/common/clock_getres.c index 0a3e1d16f..3063b18f6 100644 --- a/libc/sysdeps/linux/common/clock_getres.c +++ b/libc/sysdeps/linux/common/clock_getres.c @@ -40,4 +40,5 @@ int clock_getres(clockid_t clock_id, struct timespec* res) return retval; } +libc_hidden_def(clock_getres) #endif |