[uClibc-cvs] CVS uClibc/libc/misc/time

CVS User mjn3 mjn3 at codepoet.org
Sun Oct 31 20:23:01 UTC 2004


Update of /var/cvs/uClibc/libc/misc/time
In directory nail:/tmp/cvs-serv3836/libc/misc/time

Modified Files:
	clock_gettime.c ftime.c time.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/libc/misc/time/clock_gettime.c	2004/10/19 20:10:10	1.2
+++ /var/cvs/uClibc/libc/misc/time/clock_gettime.c	2004/10/31 20:23:00	1.3
@@ -26,7 +26,7 @@
 	int retval = -1;
 	switch (clock) {
 		case CLOCK_REALTIME:
-			retval = __libc_gettimeofday (&tv, NULL);
+			retval = gettimeofday (&tv, NULL);
 			if (retval == 0) {
 				TIMEVAL_TO_TIMESPEC (&tv, ts);
 			}
--- /var/cvs/uClibc/libc/misc/time/ftime.c	2004/10/19 20:10:10	1.2
+++ /var/cvs/uClibc/libc/misc/time/ftime.c	2004/10/31 20:23:00	1.3
@@ -25,7 +25,7 @@
 	struct timeval tv;
 	struct timezone tz;
 
-	if (__libc_gettimeofday (&tv, &tz) < 0)
+	if (gettimeofday (&tv, &tz) < 0)
 		return -1;
 
 	timebuf->time = tv.tv_sec;
--- /var/cvs/uClibc/libc/misc/time/time.c	2004/10/19 20:10:10	1.23
+++ /var/cvs/uClibc/libc/misc/time/time.c	2004/10/31 20:23:00	1.24
@@ -1603,7 +1603,7 @@
 	struct timeval tv;
 	register struct timeval *p = &tv;
 
-	__libc_gettimeofday(p, NULL);		/* This should never fail... */
+	gettimeofday(p, NULL);		/* This should never fail... */
 
 	if (tloc) {
 		*tloc = p->tv_sec;



More information about the uClibc-cvs mailing list