diff options
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) __TH |