1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

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

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