diff options
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
| -rw-r--r-- | libc/sysdeps/linux/common/bits/errno.h | 1 | ||||
| -rw-r--r-- | libc/sysdeps/linux/common/bits/getopt.h | 2 | ||||
| -rw-r--r-- | libc/sysdeps/linux/common/bits/socket.h | 1 | ||||
| -rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_stdio.h | 2 | 
4 files changed, 6 insertions, 0 deletions
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. */  | 
