Procházet zdrojové kódy

- remove relocations for clock_getres

Bernhard Reutner-Fischer před 15 roky
rodič
revize
5689a02723
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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