From d6c33fda03457ca8ca87a562fa2681af16ca4ea5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 24 May 2012 11:37:30 -0700 Subject: Switch gettimeofday from INTUSE to libc_hidden_proto. --- include/sys/time.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'include/sys') diff --git a/include/sys/time.h b/include/sys/time.h index d5de942..599e189 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -5,9 +5,8 @@ /* Now document the internal interfaces. */ extern int __gettimeofday (struct timeval *__tv, struct timezone *__tz); -extern int __gettimeofday_internal (struct timeval *__tv, - struct timezone *__tz) - attribute_hidden; +libc_hidden_proto (__gettimeofday) +libc_hidden_proto (gettimeofday) extern int __settimeofday (const struct timeval *__tv, const struct timezone *__tz) attribute_hidden; @@ -23,9 +22,5 @@ extern int __utimes (const char *__file, const struct timeval __tvp[2]) attribute_hidden; extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden; -#ifndef NOT_IN_libc -# define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz) -#endif - #endif #endif -- cgit v1.1