[git commit master] xstatconv: drop useless hidden code

Mike Frysinger vapier at gentoo.org
Sun Sep 6 16:12:12 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=3411040a7bc9c04221c6483f36cbd85a06c3bb60
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

The xstatconv.h header already sets up hidden prototypes for us, so no
need to duplicate the code.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 libc/sysdeps/linux/common/xstatconv.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/libc/sysdeps/linux/common/xstatconv.c b/libc/sysdeps/linux/common/xstatconv.c
index e575b26..2a82458 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));
-- 
1.6.3.3



More information about the uClibc-cvs mailing list