[uClibc-cvs] CVS uClibc/libc/inet/rpc
CVS User mjn3
mjn3 at codepoet.org
Sun Oct 31 20:23:00 UTC 2004
Update of /var/cvs/uClibc/libc/inet/rpc
In directory nail:/tmp/cvs-serv3836/libc/inet/rpc
Modified Files:
auth_unix.c create_xid.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/inet/rpc/auth_unix.c 2004/10/19 20:10:09 1.9
+++ /var/cvs/uClibc/libc/inet/rpc/auth_unix.c 2004/10/31 20:22:59 1.10
@@ -130,7 +130,7 @@
/*
* fill in param struct from the given params
*/
- (void) __libc_gettimeofday (&now, (struct timezone *) 0);
+ (void) gettimeofday (&now, (struct timezone *) 0);
aup.aup_time = now.tv_sec;
aup.aup_machname = machname;
aup.aup_uid = uid;
@@ -265,7 +265,7 @@
goto done;
/* update the time and serialize in place */
- (void) __libc_gettimeofday (&now, (struct timezone *) 0);
+ (void) gettimeofday (&now, (struct timezone *) 0);
aup.aup_time = now.tv_sec;
xdrs.x_op = XDR_ENCODE;
XDR_SETPOS (&xdrs, 0);
--- /var/cvs/uClibc/libc/inet/rpc/create_xid.c 2004/10/19 20:10:09 1.4
+++ /var/cvs/uClibc/libc/inet/rpc/create_xid.c 2004/10/31 20:22:59 1.5
@@ -51,7 +51,7 @@
{
struct timeval now;
- __libc_gettimeofday (&now, (struct timezone *) 0);
+ gettimeofday (&now, (struct timezone *) 0);
srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data);
is_initialized = 1;
}
More information about the uClibc-cvs
mailing list