Use __gettimeofday instead of gettimeofday

This commit is contained in:
H.J. Lu 2011-06-26 03:08:01 -04:00 committed by Ulrich Drepper
parent 68468076c2
commit c2344f56e4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
__gettimeofday instead of gettimeofday.
2011-06-26 Ulrich Drepper <drepper@gmail.com>
* elf/Makefile (all-built-dso): No need to check linkobj/libc.so.

View File

@ -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 ();