mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Use __gettimeofday instead of gettimeofday
This commit is contained in:
parent
68468076c2
commit
c2344f56e4
@ -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.
|
||||
|
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user