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/sysdeps/linux/common/getdents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/getdents.c') diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c index 226971298..8613e3a9b 100644 --- a/libc/sysdeps/linux/common/getdents.c +++ b/libc/sysdeps/linux/common/getdents.c @@ -41,7 +41,7 @@ ssize_t __getdents (int fd, char *buf, size_t nbytes) attribute_hidden; #if ! defined __UCLIBC_HAS_LFS__ || ! defined __NR_getdents64 -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(lseek) #define __NR___syscall_getdents __NR_getdents @@ -108,7 +108,7 @@ attribute_hidden strong_alias(__getdents,__getdents64) #elif __WORDSIZE == 32 -libc_hidden_proto(memmove) +/* Experimentally off - libc_hidden_proto(memmove) */ extern __typeof(__getdents) __getdents64 attribute_hidden; ssize_t __getdents (int fd, char *buf, size_t nbytes) -- cgit v1.2.3