OSDN Git Service

- remove relocations for clock_getres
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 11 Sep 2008 15:48:00 +0000 (15:48 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 11 Sep 2008 15:48:00 +0000 (15:48 -0000)
include/time.h
libc/sysdeps/linux/common/clock_getres.c

index 8fca37b..f6863ed 100644 (file)
@@ -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;
index 0a3e1d1..3063b18 100644 (file)
@@ -40,4 +40,5 @@ int clock_getres(clockid_t clock_id, struct timespec* res)
 
        return retval;
 }
+libc_hidden_def(clock_getres)
 #endif