[uClibc-cvs] CVS uClibc/libpthread/linuxthreads
CVS User mjn3
mjn3 at codepoet.org
Sun Oct 31 20:23:09 UTC 2004
Update of /var/cvs/uClibc/libpthread/linuxthreads
In directory nail:/tmp/cvs-serv3836/libpthread/linuxthreads
Modified Files:
pthread.c
Log Message:
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.
--- /var/cvs/uClibc/libpthread/linuxthreads/pthread.c 2004/10/19 20:10:16 1.14
+++ /var/cvs/uClibc/libpthread/linuxthreads/pthread.c 2004/10/31 20:23:06 1.15
@@ -889,7 +889,7 @@
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 @@
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) {
More information about the uClibc-cvs
mailing list