about summary refs log tree commit diff
path: root/include/sys/time.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-05-24 11:37:30 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-24 13:12:34 -0700
commitd6c33fda03457ca8ca87a562fa2681af16ca4ea5 (patch)
tree322ac1d3d0cb979a0a0c1398333b42e0bc34cee7 /include/sys/time.h
parentb5a2bbe6cceeaa558a5cb174417ab083b2dc549c (diff)
downloadglibc-d6c33fda03457ca8ca87a562fa2681af16ca4ea5.tar.gz
glibc-d6c33fda03457ca8ca87a562fa2681af16ca4ea5.tar.xz
glibc-d6c33fda03457ca8ca87a562fa2681af16ca4ea5.zip
Switch gettimeofday from INTUSE to libc_hidden_proto.
Diffstat (limited to 'include/sys/time.h')
-rw-r--r--include/sys/time.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index d5de942ed6..599e189bcd 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