From c2344f56e41b56036d6a16a30b9f32c19aa932d6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 26 Jun 2011 03:08:01 -0400 Subject: Use __gettimeofday instead of gettimeofday --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/getsysstats.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0745a7dd80..7ba4fd5325 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-06-23 H.J. Lu + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use + __gettimeofday instead of gettimeofday. + 2011-06-26 Ulrich Drepper * elf/Makefile (all-built-dso): No need to check linkobj/libc.so. diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c index b74774ffe8..b9bae3df98 100644 --- a/sysdeps/unix/sysv/linux/getsysstats.c +++ b/sysdeps/unix/sysv/linux/getsysstats.c @@ -147,7 +147,7 @@ __get_nprocs () INTERNAL_VSYSCALL (clock_gettime, err, 2, CLOCK_REALTIME, &ts); #else struct timeval ts; - gettimeofday (&ts, NULL); + __gettimeofday (&ts, NULL); #endif time_t prev = timestamp; atomic_read_barrier (); -- cgit 1.4.1