summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-11 15:48:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-11 15:48:00 +0000
commit5689a027230d477200c89eded23bf725b94338cd (patch)
treed444900ab2c8b5930cdf75ce7f36d91fde08c19c
parenta2a581041132c4c65d93877e4081f886849254b4 (diff)
- remove relocations for clock_getres
-rw-r--r--include/time.h1
-rw-r--r--libc/sysdeps/linux/common/clock_getres.c1
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