From f8f7b102217864ea382a46bb9ad173b3493e5cae Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sun, 31 Oct 2004 20:23:09 +0000 Subject: 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. --- libc/inet/rpc/auth_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/inet/rpc/auth_unix.c') 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); -- cgit v1.2.3