diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 22:11:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 22:11:44 +0000 |
commit | cb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch) | |
tree | f5f56f2ef0f3048325419857d0b538135524ff8c /libc/sysdeps/linux/common | |
parent | b133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff) |
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/sysdeps/linux/common')
101 files changed, 140 insertions, 140 deletions
diff --git a/libc/sysdeps/linux/common/__rt_sigtimedwait.c b/libc/sysdeps/linux/common/__rt_sigtimedwait.c index c018043bd..6dc8725f6 100644 --- a/libc/sysdeps/linux/common/__rt_sigtimedwait.c +++ b/libc/sysdeps/linux/common/__rt_sigtimedwait.c @@ -12,8 +12,8 @@ #define __need_NULL #include <stddef.h> -libc_hidden_proto(sigwaitinfo) -libc_hidden_proto(sigtimedwait) +/* libc_hidden_proto(sigwaitinfo) */ +/* libc_hidden_proto(sigtimedwait) */ #ifdef __NR_rt_sigtimedwait #define __NR___rt_sigtimedwait __NR_rt_sigtimedwait diff --git a/libc/sysdeps/linux/common/__syscall_fcntl.c b/libc/sysdeps/linux/common/__syscall_fcntl.c index 3860050f8..e95c6fe2d 100644 --- a/libc/sysdeps/linux/common/__syscall_fcntl.c +++ b/libc/sysdeps/linux/common/__syscall_fcntl.c @@ -53,7 +53,7 @@ weak_alias(__libc_fcntl,fcntl) libc_hidden_weak(fcntl) #if ! defined __NR_fcntl64 && defined __UCLIBC_HAS_LFS__ strong_alias(__libc_fcntl,__libc_fcntl64) -libc_hidden_proto(fcntl64) +/* libc_hidden_proto(fcntl64) */ weak_alias(__libc_fcntl,fcntl64) libc_hidden_weak(fcntl64) #endif diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c index 579e0e257..cd5c59bd2 100644 --- a/libc/sysdeps/linux/common/__syscall_fcntl64.c +++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c @@ -30,7 +30,7 @@ int __libc_fcntl64(int fd, int cmd, ...) } libc_hidden_def(__libc_fcntl64) -libc_hidden_proto(fcntl64) +/* libc_hidden_proto(fcntl64) */ strong_alias(__libc_fcntl64,fcntl64) libc_hidden_weak(fcntl64) #endif diff --git a/libc/sysdeps/linux/common/adjtimex.c b/libc/sysdeps/linux/common/adjtimex.c index 05e3679ff..725c82994 100644 --- a/libc/sysdeps/linux/common/adjtimex.c +++ b/libc/sysdeps/linux/common/adjtimex.c @@ -10,7 +10,7 @@ #include <sys/syscall.h> #include <sys/timex.h> -libc_hidden_proto(adjtimex) +/* libc_hidden_proto(adjtimex) */ _syscall1(int, adjtimex, struct timex *, buf) libc_hidden_def(adjtimex) diff --git a/libc/sysdeps/linux/common/alarm.c b/libc/sysdeps/linux/common/alarm.c index 224656c2e..6042ad270 100644 --- a/libc/sysdeps/linux/common/alarm.c +++ b/libc/sysdeps/linux/common/alarm.c @@ -10,7 +10,7 @@ #include <sys/syscall.h> #include <unistd.h> -libc_hidden_proto(alarm) +/* libc_hidden_proto(alarm) */ #ifdef __NR_alarm #define __NR___alarm __NR_alarm @@ -18,7 +18,7 @@ _syscall1(unsigned int, alarm, unsigned int, seconds) #else #include <sys/time.h> -libc_hidden_proto(setitimer) +/* libc_hidden_proto(setitimer) */ unsigned int alarm(unsigned int seconds) { diff --git a/libc/sysdeps/linux/common/bits/errno.h b/libc/sysdeps/linux/common/bits/errno.h index a5ac1a47f..92227fe73 100644 --- a/libc/sysdeps/linux/common/bits/errno.h +++ b/libc/sysdeps/linux/common/bits/errno.h @@ -41,6 +41,7 @@ # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__)); +libc_hidden_proto(__errno_location) # ifdef __UCLIBC_HAS_THREADS__ /* When using threads, errno is a per-thread value. */ diff --git a/libc/sysdeps/linux/common/bits/getopt.h b/libc/sysdeps/linux/common/bits/getopt.h index a28d0a40b..0307757a6 100644 --- a/libc/sysdeps/linux/common/bits/getopt.h +++ b/libc/sysdeps/linux/common/bits/getopt.h @@ -153,8 +153,10 @@ struct option errors, only prototype getopt for the GNU C library. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW; +libc_hidden_proto(getopt) #else /* not __GNU_LIBRARY__ */ extern int getopt (); +libc_hidden_proto(getopt) #endif /* __GNU_LIBRARY__ */ #if defined __UCLIBC_HAS_GNU_GETOPT__ || defined __UCLIBC_HAS_GETOPT_LONG__ diff --git a/libc/sysdeps/linux/common/bits/socket.h b/libc/sysdeps/linux/common/bits/socket.h index c352a1712..ac5a4336b 100644 --- a/libc/sysdeps/linux/common/bits/socket.h +++ b/libc/sysdeps/linux/common/bits/socket.h @@ -269,6 +269,7 @@ struct cmsghdr extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __THROW; +libc_hidden_proto(__cmsg_nxthdr) #ifdef __USE_EXTERN_INLINES # ifndef _EXTERN_INLINE # define _EXTERN_INLINE extern __inline diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h index 843a2f2c3..3631ef79f 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h +++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h @@ -382,7 +382,9 @@ extern void __stdio_init_mutex(__UCLIBC_MUTEX_TYPE *m) attribute_hidden; #endif extern int __fgetc_unlocked(FILE *__stream); +libc_hidden_proto(__fgetc_unlocked) extern int __fputc_unlocked(int __c, FILE *__stream); +libc_hidden_proto(__fputc_unlocked) /* First define the default definitions. They are overridden below as necessary. */ diff --git a/libc/sysdeps/linux/common/chdir.c b/libc/sysdeps/linux/common/chdir.c index ee889bae3..05441eb82 100644 --- a/libc/sysdeps/linux/common/chdir.c +++ b/libc/sysdeps/linux/common/chdir.c @@ -12,7 +12,7 @@ #include <unistd.h> #include <sys/param.h> -libc_hidden_proto(chdir) +/* libc_hidden_proto(chdir) */ #define __NR___syscall_chdir __NR_chdir static __inline__ _syscall1(int, __syscall_chdir, const char *, path) diff --git a/libc/sysdeps/linux/common/chmod.c b/libc/sysdeps/linux/common/chmod.c index da0dff6d9..a4524ba1f 100644 --- a/libc/sysdeps/linux/common/chmod.c +++ b/libc/sysdeps/linux/common/chmod.c @@ -10,7 +10,7 @@ #include <sys/syscall.h> #include <sys/stat.h> -libc_hidden_proto(chmod) +/* libc_hidden_proto(chmod) */ #define __NR___syscall_chmod __NR_chmod static __inline__ _syscall2(int, __syscall_chmod, const char *, path, __kernel_mode_t, mode) diff --git a/libc/sysdeps/linux/common/chown.c b/libc/sysdeps/linux/common/chown.c index f32507193..2e7784a0c 100644 --- a/libc/sysdeps/linux/common/chown.c +++ b/libc/sysdeps/linux/common/chown.c @@ -11,7 +11,7 @@ #include <unistd.h> #include <bits/wordsize.h> |