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 /libc/inet | |
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 'libc/inet')
-rw-r--r-- | libc/inet/rpc/auth_unix.c | 4 | ||||
-rw-r--r-- | libc/inet/rpc/create_xid.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c index 6fe89048b..3e14ba2a5 100644 --- a/libc/inet/rpc/auth_unix.c +++ b/libc/inet/rpc/auth_unix.c @@ -130,7 +130,7 @@ no_memory: /* * 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 @@ authunix_refresh (AUTH *auth) 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); diff --git a/libc/inet/rpc/create_xid.c b/libc/inet/rpc/create_xid.c index 8d8a34070..cbb961e4d 100644 --- a/libc/inet/rpc/create_xid.c +++ b/libc/inet/rpc/create_xid.c @@ -51,7 +51,7 @@ _create_xid (void) { 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; } |