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/sysdeps/linux/common/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/time.c') diff --git a/libc/sysdeps/linux/common/time.c b/libc/sysdeps/linux/common/time.c index bd68cd6e8..ea90dc2e7 100644 --- a/libc/sysdeps/linux/common/time.c +++ b/libc/sysdeps/linux/common/time.c @@ -18,7 +18,7 @@ time_t time(time_t * t) time_t result; struct timeval tv; - if (__libc_gettimeofday(&tv, (struct timezone *) NULL)) { + if (gettimeofday(&tv, (struct timezone *) NULL)) { result = (time_t) - 1; } else { result = (time_t) tv.tv_sec; -- cgit v1.2.3