summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/xstatconv.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-06 11:15:29 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-09-18 11:41:15 -0700
commit364c8d64f92cb74dbb602d8eb1dacc7f47d33a2b (patch)
tree9538265a957fd109e99b27fd5311ac50dac916a2 /libc/sysdeps/linux/common/xstatconv.c
parentc7e7428f9948f7791f80dadd68765f2de7c216fa (diff)
downloaduClibc-alpine-364c8d64f92cb74dbb602d8eb1dacc7f47d33a2b.tar.bz2
uClibc-alpine-364c8d64f92cb74dbb602d8eb1dacc7f47d33a2b.tar.xz
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 <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common/xstatconv.c')
-rw-r--r--libc/sysdeps/linux/common/xstatconv.c6
1 files changed, 2 insertions, 4 deletions
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 <string.h>
#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));