diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-10-31 20:23:09 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-10-31 20:23:09 +0000 |
commit | f8f7b102217864ea382a46bb9ad173b3493e5cae (patch) | |
tree | 83245aace8d942501f4942a0d15f17edce4b3c6c /libpthread/linuxthreads/pthread.c | |
parent | 379218849650fcb2d69b33bfa462b4d073adb201 (diff) |
Revert Peter's __lib_gettimeofday patch. There's the minor issue of
adding cruft to include/sys/time.h. But also, there's no sense in
making changes like this until we decide how we're going to approach
the hidden symbol transition.
Diffstat (limited to 'libpthread/linuxthreads/pthread.c')
-rw-r--r-- | libpthread/linuxthreads/pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index 0ccd8bcf4..c4225bce8 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -889,7 +889,7 @@ __pthread_timedsuspend_old(pthread_descr self, const struct timespec *abstime) struct timespec reltime; /* Compute a time offset relative to now. */ - __libc_gettimeofday (&now, NULL); + __gettimeofday (&now, NULL); reltime.tv_nsec = abstime->tv_nsec - now.tv_usec * 1000; reltime.tv_sec = abstime->tv_sec - now.tv_sec; if (reltime.tv_nsec < 0) { @@ -974,7 +974,7 @@ int __pthread_timedsuspend_new(pthread_descr self, const struct timespec *abstim struct timespec reltime; /* Compute a time offset relative to now. */ - __libc_gettimeofday (&now, NULL); + gettimeofday (&now, NULL); reltime.tv_nsec = abstime->tv_nsec - now.tv_usec * 1000; reltime.tv_sec = abstime->tv_sec - now.tv_sec; if (reltime.tv_nsec < 0) { |