[git commit nptl] xstatconv: drop useless hidden code

Mike Frysinger vapier at gentoo.org
Fri Sep 18 14:07:31 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=364c8d64f92cb74dbb602d8eb1dacc7f47d33a2b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

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>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 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