Browse Source

- remove relocations for clock_getres

Bernhard Reutner-Fischer 15 years ago
parent
commit
5689a02723
2 changed files with 2 additions and 0 deletions
  1. 1 0
      include/time.h
  2. 1 0
      libc/sysdeps/linux/common/clock_getres.c

+ 1 - 0
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;

+ 1 - 0
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