OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / clock_gettime.c
index 33863a8..e72432b 100644 (file)
@@ -20,8 +20,6 @@
  *
  */
 
-#define gettimeofday __gettimeofday
-
 #define _GNU_SOURCE
 #include "syscalls.h"
 #include <time.h>
@@ -30,6 +28,8 @@
 #ifdef __NR_clock_gettime
 _syscall2(int, clock_gettime, clockid_t, clock_id, struct timespec*, tp);
 #else
+libc_hidden_proto(gettimeofday)
+
 int clock_gettime(clockid_t clock_id, struct timespec* tp)
 {
        struct timeval tv;