From 3411040a7bc9c04221c6483f36cbd85a06c3bb60 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 6 Sep 2009 11:15:29 -0400 Subject: xstatconv: drop useless hidden code The xstatconv.h header already sets up hidden prototypes for us, so no need to duplicate the code. Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/common/xstatconv.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/xstatconv.c b/libc/sysdeps/linux/common/xstatconv.c index e575b26f2..2a8245806 100644 --- a/libc/sysdeps/linux/common/xstatconv.c +++ b/libc/sysdeps/linux/common/xstatconv.c @@ -25,9 +25,7 @@ #include #include "xstatconv.h" -/* Experimentally off - libc_hidden_proto(memset) */ - -void attribute_hidden __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) +void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) { /* Convert to current kernel version of `struct stat'. */ memset(buf, 0x00, sizeof(*buf)); @@ -48,7 +46,7 @@ void attribute_hidden __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) #ifdef __UCLIBC_HAS_LFS__ -void attribute_hidden __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) +void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) { /* Convert to current kernel version of `struct stat64'. */ memset(buf, 0x00, sizeof(*buf)); -- cgit v1.2.3