[uClibc-cvs] CVS uClibc/libutil

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


Update of /var/cvs/uClibc/libutil
In directory nail:/tmp/cvs-serv3836/libutil

Modified Files:
	logout.c logwtmp.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/libutil/logout.c	2004/10/19 20:10:18	1.3
+++ /var/cvs/uClibc/libutil/logout.c	2004/10/31 20:23:09	1.4
@@ -50,7 +50,7 @@
       memset (ut->ut_host, 0, sizeof ut->ut_host);
 #endif
 #if _HAVE_UT_TV - 0
-      __libc_gettimeofday (&ut->ut_tv, NULL);
+      gettimeofday (&ut->ut_tv, NULL);
 #else
       time (&ut->ut_time);
 #endif
--- /var/cvs/uClibc/libutil/logwtmp.c	2004/10/19 20:10:18	1.4
+++ /var/cvs/uClibc/libutil/logwtmp.c	2004/10/31 20:23:09	1.5
@@ -36,7 +36,7 @@
     strncpy(lutmp.ut_line, line, sizeof(lutmp.ut_line)-1);
     strncpy(lutmp.ut_name, name, sizeof(lutmp.ut_name)-1);
     strncpy(lutmp.ut_host, host, sizeof(lutmp.ut_host)-1);
-    __libc_gettimeofday(&(lutmp.ut_tv), NULL);
+    gettimeofday(&(lutmp.ut_tv), NULL);
 
     updwtmp(_PATH_WTMP, &(lutmp));
 }



More information about the uClibc-cvs mailing list