From 125773133f0fe2425ab3d8305ed880e9010f6803 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 19 May 2008 22:57:34 +0000 Subject: Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's. --- libc/misc/internals/__uClibc_main.c | 4 ++-- libc/misc/internals/tempname.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/misc/internals') diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index c9c16e192..92aeead0e 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -31,10 +31,10 @@ libc_hidden_proto(exit) #ifdef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__ -libc_hidden_proto(strrchr) +/* Experimentally off - libc_hidden_proto(strrchr) */ #endif #ifndef __ARCH_HAS_NO_LDSO__ -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(getgid) libc_hidden_proto(getuid) libc_hidden_proto(getegid) diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c index dc125020b..0883259bd 100644 --- a/libc/misc/internals/tempname.c +++ b/libc/misc/internals/tempname.c @@ -45,8 +45,8 @@ #include #include "tempname.h" -libc_hidden_proto(strlen) -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(strlen) */ +/* Experimentally off - libc_hidden_proto(strcmp) */ libc_hidden_proto(sprintf) libc_hidden_proto(mkdir) libc_hidden_proto(open) -- cgit v1.2.3