OSDN Git Service

- hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 25 Nov 2008 13:56:17 +0000 (13:56 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 25 Nov 2008 13:56:17 +0000 (13:56 -0000)
libc/misc/statfs/fstatfs64.c
libc/misc/statfs/fstatvfs.c
libc/misc/statfs/statfs64.c
libc/misc/statfs/statvfs.c
libc/stdlib/getpt.c
libc/stdlib/grantpt.c
libc/sysdeps/linux/common/fstatfs.c
libc/sysdeps/linux/common/statfs.c
libc/unistd/fpathconf.c
libc/unistd/pathconf.c

index dc60273..6bcc865 100644 (file)
@@ -27,7 +27,6 @@
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 extern __typeof(fstatfs) __libc_fstatfs;
-libc_hidden_proto(__libc_fstatfs)
 
 /* Return information about the filesystem on which FD resides.  */
 /* libc_hidden_proto(fstatfs64) */
index 547a9c3..3f3d76a 100644 (file)
@@ -48,7 +48,6 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
 #endif
 
 extern __typeof(fstatfs) __libc_fstatfs;
-libc_hidden_proto(__libc_fstatfs)
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(stat) */
 /* libc_hidden_proto(fstatvfs) */
index c73c6ae..8bb1ad9 100644 (file)
@@ -25,7 +25,6 @@
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 extern __typeof(statfs) __libc_statfs;
-libc_hidden_proto(__libc_statfs)
 
 /* Return information about the filesystem on which FILE resides.  */
 /* libc_hidden_proto(statfs64) */
index 9bfbe6e..42d2d0d 100644 (file)
@@ -35,7 +35,6 @@
 /* libc_hidden_proto(endmntent) */
 
 extern __typeof(statfs) __libc_statfs;
-libc_hidden_proto(__libc_statfs)
 /* libc_hidden_proto(stat) */
 
 /* libc_hidden_proto(statvfs) */
index 54555cf..f39e796 100644 (file)
@@ -26,7 +26,6 @@
 #include <sys/statfs.h>
 
 extern __typeof(statfs) __libc_statfs;
-libc_hidden_proto(__libc_statfs)
 
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(close) */
index 8c85850..42a64b3 100644 (file)
@@ -39,7 +39,6 @@ int __unix_grantpt (int fd);
    pseudo terminal in a safe way.  */
 static int pts_name (int fd, char **pts, size_t buf_len);
 extern __typeof(statfs) __libc_statfs;
-libc_hidden_proto(__libc_statfs)
 #endif
 
 /* Change the ownership and access permission of the slave pseudo
index 53b53cd..fa0024a 100644 (file)
@@ -22,12 +22,10 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
 # endif
 #endif
 
-extern __typeof(fstatfs) __libc_fstatfs;
-libc_hidden_proto(__libc_fstatfs)
+extern __typeof(fstatfs) __libc_fstatfs attribute_hidden;
 #define __NR___libc_fstatfs __NR_fstatfs
 _syscall2(int, __libc_fstatfs, int, fd, struct statfs *, buf)
 
 #if defined __UCLIBC_LINUX_SPECIFIC__
-libc_hidden_def(__libc_fstatfs)
 weak_alias(__libc_fstatfs,fstatfs)
 #endif
index e892fb3..2f8548d 100644 (file)
 #include <sys/param.h>
 #include <sys/vfs.h>
 
-extern __typeof(statfs) __libc_statfs;
-libc_hidden_proto(__libc_statfs)
-
+extern __typeof(statfs) __libc_statfs attribute_hidden;
 #define __NR___libc_statfs __NR_statfs
 _syscall2(int, __libc_statfs, const char *, path, struct statfs *, buf)
 
 #if defined __UCLIBC_LINUX_SPECIFIC__
-libc_hidden_def(__libc_statfs)
 weak_alias(__libc_statfs,statfs)
 #endif
index 67345b8..439525a 100644 (file)
@@ -43,7 +43,6 @@ extern int fstatfs (int __fildes, struct statfs *__buf)
 #endif
 
 extern __typeof(fstatfs) __libc_fstatfs;
-libc_hidden_proto(__libc_fstatfs)
 
 /* The Linux kernel headers mention this as a kind of generic value.  */
 #define LINUX_LINK_MAX 127
index a5e6fde..9895e02 100644 (file)
@@ -32,7 +32,6 @@
 //#include <sys/statvfs.h>
 
 extern __typeof(statfs) __libc_statfs;
-libc_hidden_proto(__libc_statfs)
 /* libc_hidden_proto(stat) */