summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-28 01:15:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-28 01:15:34 +0000
commit86de93b89ed258c2f31ea719dc7f1f49d6429217 (patch)
tree16927393dc8e8c3cb9465aadbe9af38507bbeebb /libc
parent8602e0ef80ecb67816746b26cd0fecfe2acf25bc (diff)
Experimentally move libc_hidden_proto(time) to time.h.
The only code change observed is actually a case where we were not doing that as needed: 00000000 <__GI_tzset>: -53 push %ebx -e8 00 00 00 00 call 6 <__GI_tzset+0x6> -5b pop %ebx -81 c3 03 00 00 00 add $0x3,%ebx - R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 6a 00 push $0x0 -e8 fc ff ff ff call 10 <__GI_tzset+0x10> - R_386_PLT32 time +e8 fc ff ff ff call 3 <__GI_tzset+0x3> + R_386_PC32 __GI_time 3d ff 4e 98 45 cmp $0x45984eff,%eax 0f 9e c0 setle %al 0f b6 c0 movzbl %al,%eax 50 push %eax -e8 fc ff ff ff call 21 <__GI_tzset+0x21> +e8 fc ff ff ff call 14 <__GI_tzset+0x14> R_386_PC32 _time_tzset 58 pop %eax 5a pop %edx -5b pop %ebx c3 ret No mass migration of libc_hidden_proto(foo) planned. Lets wait for potential fallout first.
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/ifaddrs.c2
-rw-r--r--libc/misc/syslog/syslog.c2
-rw-r--r--libc/sysdeps/linux/common/time.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/ifaddrs.c b/libc/inet/ifaddrs.c
index b9f3cbd0e..be68d97ee 100644
--- a/libc/inet/ifaddrs.c
+++ b/libc/inet/ifaddrs.c
@@ -41,7 +41,7 @@
libc_hidden_proto(socket)
libc_hidden_proto(close)
-libc_hidden_proto(time)
+/* Experimentally off - libc_hidden_proto(time) */
libc_hidden_proto(sendto)
libc_hidden_proto(recvmsg)
libc_hidden_proto(bind)
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index 9d22ad5dc..ce78544b0 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -102,7 +102,7 @@ libc_hidden_proto(sigemptyset)
libc_hidden_proto(connect)
libc_hidden_proto(sprintf)
libc_hidden_proto(vsnprintf)
-libc_hidden_proto(time)
+/* Experimentally off - libc_hidden_proto(time) */
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
diff --git a/libc/sysdeps/linux/common/time.c b/libc/sysdeps/linux/common/time.c
index 4fce92aa6..a7aa153d4 100644
--- a/libc/sysdeps/linux/common/time.c
+++ b/libc/sysdeps/linux/common/time.c
@@ -11,7 +11,7 @@
#include <time.h>
#include <sys/time.h>
-libc_hidden_proto(time)
+/* Experimentally off - libc_hidden_proto(time) */
#ifdef __NR_time
_syscall1(time_t, time, time_t *, t);