summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-06 11:15:29 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-06 11:15:29 -0400
commit3411040a7bc9c04221c6483f36cbd85a06c3bb60 (patch)
treeab059d43b287af0162631ed01be354c851351346 /libc
parent3e151bdde55f608385099d761a22c2e8951448b0 (diff)
downloaduClibc-alpine-3411040a7bc9c04221c6483f36cbd85a06c3bb60.tar.bz2
uClibc-alpine-3411040a7bc9c04221c6483f36cbd85a06c3bb60.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>
Diffstat (limited to 'libc')
-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));