Browse Source

libc_hidden_proto removal, just a few functions

Denis Vlasenko 15 years ago
parent
commit
e8c6de1939
72 changed files with 81 additions and 82 deletions
  1. 1 0
      include/locale.h
  2. 2 0
      include/stdlib.h
  3. 1 7
      include/time.h
  4. 1 0
      include/unistd.h
  5. 1 1
      libc/inet/getaddrinfo.c
  6. 1 1
      libc/inet/getnetent.c
  7. 1 1
      libc/inet/getproto.c
  8. 1 1
      libc/inet/getservice.c
  9. 1 1
      libc/inet/hostid.c
  10. 1 1
      libc/inet/if_index.c
  11. 2 2
      libc/inet/ifaddrs.c
  12. 1 1
      libc/inet/resolv.c
  13. 1 1
      libc/inet/rpc/auth_unix.c
  14. 1 1
      libc/inet/rpc/clnt_simple.c
  15. 1 1
      libc/inet/rpc/clnt_tcp.c
  16. 1 1
      libc/inet/rpc/clnt_udp.c
  17. 1 1
      libc/inet/rpc/clnt_unix.c
  18. 2 2
      libc/inet/rpc/get_myaddress.c
  19. 2 2
      libc/inet/rpc/pmap_clnt.c
  20. 1 1
      libc/inet/rpc/pmap_rmt.c
  21. 1 1
      libc/inet/rpc/rcmd.c
  22. 1 1
      libc/inet/rpc/rexec.c
  23. 1 1
      libc/inet/rpc/rtime.c
  24. 1 1
      libc/inet/rpc/svc_simple.c
  25. 2 2
      libc/inet/rpc/svc_tcp.c
  26. 1 1
      libc/inet/rpc/svc_udp.c
  27. 2 2
      libc/inet/rpc/svc_unix.c
  28. 1 1
      libc/misc/assert/__assert.c
  29. 1 1
      libc/misc/ctype/ctype.c
  30. 1 1
      libc/misc/dirent/closedir.c
  31. 1 1
      libc/misc/dirent/opendir.c
  32. 1 1
      libc/misc/error/err.c
  33. 1 1
      libc/misc/error/error.c
  34. 2 2
      libc/misc/internals/__uClibc_main.c
  35. 1 1
      libc/misc/internals/tempname.c
  36. 1 1
      libc/misc/locale/locale.c
  37. 1 1
      libc/misc/mntent/mntent.c
  38. 1 1
      libc/misc/regex/regex.c
  39. 1 1
      libc/misc/regex/regex_old.c
  40. 1 1
      libc/misc/syslog/syslog.c
  41. 1 1
      libc/misc/time/time.c
  42. 1 1
      libc/misc/ttyent/getttyent.c
  43. 1 1
      libc/misc/utmp/utent.c
  44. 1 1
      libc/misc/utmp/wtent.c
  45. 2 2
      libc/misc/wordexp/wordexp.c
  46. 1 1
      libc/pwd_grp/lckpwdf.c
  47. 1 1
      libc/stdio/_READ.c
  48. 1 1
      libc/stdio/_cs_funcs.c
  49. 1 1
      libc/stdio/_vfprintf.c
  50. 1 1
      libc/stdio/fclose.c
  51. 1 1
      libc/stdio/popen.c
  52. 1 1
      libc/stdio/tmpfile.c
  53. 1 1
      libc/stdlib/_atexit.c
  54. 1 1
      libc/stdlib/abort.c
  55. 1 1
      libc/stdlib/arc4random.c
  56. 1 1
      libc/stdlib/getpt.c
  57. 1 1
      libc/stdlib/malloc-standard/malloc.h
  58. 1 1
      libc/string/generic/memchr.c
  59. 1 1
      libc/string/generic/memrchr.c
  60. 1 1
      libc/string/generic/rawmemchr.c
  61. 1 1
      libc/string/generic/strchr.c
  62. 1 1
      libc/string/generic/strchrnul.c
  63. 1 1
      libc/string/generic/strlen.c
  64. 1 1
      libc/string/generic/strnlen.c
  65. 1 1
      libc/sysdeps/linux/arm/ioperm.c
  66. 1 1
      libc/sysdeps/linux/common/close.c
  67. 1 1
      libc/sysdeps/linux/common/dl-osinfo.h
  68. 1 1
      libc/unistd/daemon.c
  69. 2 1
      libpthread/linuxthreads.old/forward.c
  70. 1 1
      libpthread/linuxthreads.old/libc_pthread_init.c
  71. 1 1
      libpthread/linuxthreads/forward.c
  72. 1 1
      libpthread/linuxthreads/libc_pthread_init.c

+ 1 - 0
include/locale.h

@@ -215,6 +215,7 @@ extern void freelocale (__locale_t __dataset) __THROW;
    for all threads and can also be installed any time, meaning
    for all threads and can also be installed any time, meaning
    the thread uses the global settings controlled by `setlocale'.  */
    the thread uses the global settings controlled by `setlocale'.  */
 extern __locale_t uselocale (__locale_t __dataset) __THROW;
 extern __locale_t uselocale (__locale_t __dataset) __THROW;
+libc_hidden_proto(uselocale)
 
 
 /* This value can be passed to `uselocale' and may be returned by it.
 /* This value can be passed to `uselocale' and may be returned by it.
    Passing this value to any other function has undefined behavior.  */
    Passing this value to any other function has undefined behavior.  */

+ 2 - 0
include/stdlib.h

@@ -498,6 +498,7 @@ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
 __BEGIN_NAMESPACE_STD
 __BEGIN_NAMESPACE_STD
 /* Abort execution and generate a core-dump.  */
 /* Abort execution and generate a core-dump.  */
 extern void abort (void) __THROW __attribute__ ((__noreturn__));
 extern void abort (void) __THROW __attribute__ ((__noreturn__));
+libc_hidden_proto(abort)
 
 
 
 
 /* Register a function to be called when `exit' is called.  */
 /* Register a function to be called when `exit' is called.  */
@@ -516,6 +517,7 @@ __BEGIN_NAMESPACE_STD
    in the reverse of the order in which they were registered
    in the reverse of the order in which they were registered
    perform stdio cleanup, and terminate program execution with STATUS.  */
    perform stdio cleanup, and terminate program execution with STATUS.  */
 extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
 extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
+libc_hidden_proto(exit)
 __END_NAMESPACE_STD
 __END_NAMESPACE_STD
 
 
 #ifdef __USE_ISOC99
 #ifdef __USE_ISOC99

+ 1 - 7
include/time.h

@@ -187,6 +187,7 @@ extern clock_t clock (void) __THROW;
 
 
 /* Return the current time and put it in *TIMER if TIMER is not NULL.  */
 /* Return the current time and put it in *TIMER if TIMER is not NULL.  */
 extern time_t time (time_t *__timer) __THROW;
 extern time_t time (time_t *__timer) __THROW;
+libc_hidden_proto(time)
 
 
 #ifdef __UCLIBC_HAS_FLOATS__
 #ifdef __UCLIBC_HAS_FLOATS__
 /* Return the difference between TIME1 and TIME0.  */
 /* Return the difference between TIME1 and TIME0.  */
@@ -433,13 +434,6 @@ extern int getdate_r (__const char *__restrict __string,
 
 
 __END_DECLS
 __END_DECLS
 
 
-
-#ifdef UCLIBC_INTERNAL
-/* Experiment. Grep for 'libc_hidden_proto(time)' if need to revert */
-libc_hidden_proto(time)
-#endif
-
-
 #endif /* <time.h> included.  */
 #endif /* <time.h> included.  */
 
 
 #endif /* <time.h> not already included.  */
 #endif /* <time.h> not already included.  */

+ 1 - 0
include/unistd.h

@@ -316,6 +316,7 @@ extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
    This function is a cancellation point and therefore not marked with
    This function is a cancellation point and therefore not marked with
    __THROW.  */
    __THROW.  */
 extern int close (int __fd);
 extern int close (int __fd);
+libc_hidden_proto(close)
 
 
 /* Read NBYTES into BUF from FD.  Return the
 /* Read NBYTES into BUF from FD.  Return the
    number read, -1 for errors or 0 for EOF.
    number read, -1 for errors or 0 for EOF.

+ 1 - 1
libc/inet/getaddrinfo.c

@@ -78,7 +78,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(getservbyname_r)
 libc_hidden_proto(getservbyname_r)
 libc_hidden_proto(gethostbyname2_r)
 libc_hidden_proto(gethostbyname2_r)
 libc_hidden_proto(gethostbyaddr_r)
 libc_hidden_proto(gethostbyaddr_r)

+ 1 - 1
libc/inet/getnetent.c

@@ -28,7 +28,7 @@ libc_hidden_proto(fclose)
 libc_hidden_proto(inet_network)
 libc_hidden_proto(inet_network)
 libc_hidden_proto(rewind)
 libc_hidden_proto(rewind)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);

+ 1 - 1
libc/inet/getproto.c

@@ -69,7 +69,7 @@ libc_hidden_proto(atoi)
 libc_hidden_proto(rewind)
 libc_hidden_proto(rewind)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);

+ 1 - 1
libc/inet/getservice.c

@@ -71,7 +71,7 @@ libc_hidden_proto(fclose)
 libc_hidden_proto(atoi)
 libc_hidden_proto(atoi)
 libc_hidden_proto(rewind)
 libc_hidden_proto(rewind)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);

+ 1 - 1
libc/inet/hostid.c

@@ -17,7 +17,7 @@
 
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 libc_hidden_proto(open)
 libc_hidden_proto(open)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
 libc_hidden_proto(getuid)
 libc_hidden_proto(getuid)

+ 1 - 1
libc/inet/if_index.c

@@ -38,7 +38,7 @@
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strdup) */
 /* Experimentally off - libc_hidden_proto(strdup) */
 libc_hidden_proto(ioctl)
 libc_hidden_proto(ioctl)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 #if __ASSUME_NETLINK_SUPPORT
 #if __ASSUME_NETLINK_SUPPORT
 /* Experimentally off - libc_hidden_proto(strndup) */
 /* Experimentally off - libc_hidden_proto(strndup) */
 #endif
 #endif

+ 2 - 2
libc/inet/ifaddrs.c

@@ -40,7 +40,7 @@
 #include "netlinkaccess.h"
 #include "netlinkaccess.h"
 
 
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 /* Experimentally off - libc_hidden_proto(time) */
 /* Experimentally off - libc_hidden_proto(time) */
 libc_hidden_proto(sendto)
 libc_hidden_proto(sendto)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(recvmsg)
@@ -49,7 +49,7 @@ libc_hidden_proto(bind)
 /* Experimentally off - libc_hidden_proto(mempcpy) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
 libc_hidden_proto(getsockname)
 libc_hidden_proto(getsockname)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #ifndef __libc_use_alloca
 #ifndef __libc_use_alloca
 # define __libc_use_alloca(x) (x < __MAX_ALLOCA_CUTOFF)
 # define __libc_use_alloca(x) (x < __MAX_ALLOCA_CUTOFF)

+ 1 - 1
libc/inet/resolv.c

@@ -178,7 +178,7 @@
 /* Experimentally off - libc_hidden_proto(strstr) */
 /* Experimentally off - libc_hidden_proto(strstr) */
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(fopen)
 libc_hidden_proto(fopen)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
 libc_hidden_proto(random)
 libc_hidden_proto(random)

+ 1 - 1
libc/inet/rpc/auth_unix.c

@@ -68,7 +68,7 @@ libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(fputs)
 libc_hidden_proto(fputs)
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
 libc_hidden_proto(fwprintf)
 libc_hidden_proto(fwprintf)
 #endif
 #endif

+ 1 - 1
libc/inet/rpc/clnt_simple.c

@@ -53,7 +53,7 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(clntudp_create)
 libc_hidden_proto(clntudp_create)
 libc_hidden_proto(gethostbyname_r)
 libc_hidden_proto(gethostbyname_r)
 
 

+ 1 - 1
libc/inet/rpc/clnt_tcp.c

@@ -68,7 +68,7 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(authnone_create)
 libc_hidden_proto(authnone_create)
 libc_hidden_proto(xdrrec_create)
 libc_hidden_proto(xdrrec_create)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_endofrecord)

+ 1 - 1
libc/inet/rpc/clnt_udp.c

@@ -65,7 +65,7 @@ libc_hidden_proto(fwprintf)
 /* Experimentally off - libc_hidden_proto(memcmp) */
 /* Experimentally off - libc_hidden_proto(memcmp) */
 libc_hidden_proto(ioctl)
 libc_hidden_proto(ioctl)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 /* CMSG_NXTHDR is using it */
 /* CMSG_NXTHDR is using it */
 libc_hidden_proto(__cmsg_nxthdr)
 libc_hidden_proto(__cmsg_nxthdr)
 
 

+ 1 - 1
libc/inet/rpc/clnt_unix.c

@@ -66,7 +66,7 @@ libc_hidden_proto(fwprintf)
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(getpid)
 libc_hidden_proto(getpid)
 libc_hidden_proto(authnone_create)
 libc_hidden_proto(authnone_create)
 libc_hidden_proto(xdrrec_create)
 libc_hidden_proto(xdrrec_create)

+ 2 - 2
libc/inet/rpc/get_myaddress.c

@@ -52,9 +52,9 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";
 
 
 libc_hidden_proto(ioctl)
 libc_hidden_proto(ioctl)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 
 
 /*
 /*
  * don't use gethostbyname, which would invoke yellow pages
  * don't use gethostbyname, which would invoke yellow pages

+ 2 - 2
libc/inet/rpc/pmap_clnt.c

@@ -50,9 +50,9 @@
 
 
 libc_hidden_proto(ioctl)
 libc_hidden_proto(ioctl)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 libc_hidden_proto(clnt_perror)
 libc_hidden_proto(clnt_perror)
 libc_hidden_proto(clntudp_bufcreate)
 libc_hidden_proto(clntudp_bufcreate)
 libc_hidden_proto(xdr_bool)
 libc_hidden_proto(xdr_bool)

+ 1 - 1
libc/inet/rpc/pmap_rmt.c

@@ -63,7 +63,7 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
 libc_hidden_proto(ioctl)
 libc_hidden_proto(ioctl)
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(authunix_create_default)
 libc_hidden_proto(authunix_create_default)
 libc_hidden_proto(xdrmem_create)
 libc_hidden_proto(xdrmem_create)
 libc_hidden_proto(xdr_callmsg)
 libc_hidden_proto(xdr_callmsg)

+ 1 - 1
libc/inet/rpc/rcmd.c

@@ -97,7 +97,7 @@ static char sccsid[] = "@(#)rcmd.c	8.3 (Berkeley) 3/26/94";
 /* Experimentally off - libc_hidden_proto(memmove) */
 /* Experimentally off - libc_hidden_proto(memmove) */
 libc_hidden_proto(getpid)
 libc_hidden_proto(getpid)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(fcntl)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)

+ 1 - 1
libc/inet/rpc/rexec.c

@@ -47,7 +47,7 @@
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
 libc_hidden_proto(sprintf)
 libc_hidden_proto(sprintf)

+ 1 - 1
libc/inet/rpc/rtime.c

@@ -60,7 +60,7 @@ static char sccsid[] = "@(#)rtime.c	2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S
 
 
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(connect)
 libc_hidden_proto(connect)
 libc_hidden_proto(recvfrom)
 libc_hidden_proto(recvfrom)
 libc_hidden_proto(sendto)
 libc_hidden_proto(sendto)

+ 1 - 1
libc/inet/rpc/svc_simple.c

@@ -60,7 +60,7 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
 libc_hidden_proto(asprintf)
 libc_hidden_proto(asprintf)
 libc_hidden_proto(fputs)
 libc_hidden_proto(fputs)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 libc_hidden_proto(svc_sendreply)
 libc_hidden_proto(svc_sendreply)
 libc_hidden_proto(svc_register)
 libc_hidden_proto(svc_register)
 libc_hidden_proto(svcerr_decode)
 libc_hidden_proto(svcerr_decode)

+ 2 - 2
libc/inet/rpc/svc_tcp.c

@@ -62,7 +62,7 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
@@ -82,7 +82,7 @@ libc_hidden_proto(accept)
 libc_hidden_proto(listen)
 libc_hidden_proto(listen)
 libc_hidden_proto(fputs)
 libc_hidden_proto(fputs)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /*
 /*
  * Ops vector for TCP/IP based rpc service handle
  * Ops vector for TCP/IP based rpc service handle

+ 1 - 1
libc/inet/rpc/svc_udp.c

@@ -65,7 +65,7 @@ libc_hidden_proto(fwprintf)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(xprt_register)
 libc_hidden_proto(xprt_register)
 libc_hidden_proto(xprt_unregister)
 libc_hidden_proto(xprt_unregister)
 libc_hidden_proto(xdrmem_create)
 libc_hidden_proto(xdrmem_create)

+ 2 - 2
libc/inet/rpc/svc_unix.c

@@ -59,7 +59,7 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(perror)
 libc_hidden_proto(perror)
 libc_hidden_proto(getpid)
 libc_hidden_proto(getpid)
 libc_hidden_proto(xdrrec_create)
 libc_hidden_proto(xdrrec_create)
@@ -81,7 +81,7 @@ libc_hidden_proto(poll)
 libc_hidden_proto(accept)
 libc_hidden_proto(accept)
 libc_hidden_proto(listen)
 libc_hidden_proto(listen)
 libc_hidden_proto(fputs)
 libc_hidden_proto(fputs)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /*
 /*
  * Ops vector for AF_UNIX based rpc service handle
  * Ops vector for AF_UNIX based rpc service handle

+ 1 - 1
libc/misc/assert/__assert.c

@@ -33,7 +33,7 @@
 #include <bits/uClibc_uintmaxtostr.h>
 #include <bits/uClibc_uintmaxtostr.h>
 
 
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /* Get the prototype from assert.h as a double-check. */
 /* Get the prototype from assert.h as a double-check. */
 #undef NDEBUG
 #undef NDEBUG

+ 1 - 1
libc/misc/ctype/ctype.c

@@ -162,7 +162,7 @@ int CTYPE_NAME(NAME) (int c) \
 #ifdef __UCLIBC_HAS_CTYPE_ENFORCED__
 #ifdef __UCLIBC_HAS_CTYPE_ENFORCED__
 
 
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 attribute_hidden void __isctype_assert(int c, int mask)
 attribute_hidden void __isctype_assert(int c, int mask)
 {
 {

+ 1 - 1
libc/misc/dirent/closedir.c

@@ -11,7 +11,7 @@
 #include "dirstream.h"
 #include "dirstream.h"
 
 
 libc_hidden_proto(closedir)
 libc_hidden_proto(closedir)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 
 
 int closedir(DIR * dir)
 int closedir(DIR * dir)
 {
 {

+ 1 - 1
libc/misc/dirent/opendir.c

@@ -17,7 +17,7 @@
 libc_hidden_proto(opendir)
 libc_hidden_proto(opendir)
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(fcntl)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(stat)
 libc_hidden_proto(stat)
 libc_hidden_proto(fstat)
 libc_hidden_proto(fstat)
 
 

+ 1 - 1
libc/misc/error/err.c

@@ -29,7 +29,7 @@ libc_hidden_proto(verrx)
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
 libc_hidden_proto(vfprintf)
 libc_hidden_proto(vfprintf)
 libc_hidden_proto(__xpg_strerror_r)
 libc_hidden_proto(__xpg_strerror_r)
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 libc_hidden_proto(vfprintf)
 libc_hidden_proto(vfprintf)
 
 
 static void vwarn_work(const char *format, va_list args, int showerr)
 static void vwarn_work(const char *format, va_list args, int showerr)

+ 1 - 1
libc/misc/error/error.c

@@ -29,7 +29,7 @@
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strerror) */
 /* Experimentally off - libc_hidden_proto(strerror) */
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 libc_hidden_proto(putc)
 libc_hidden_proto(putc)
 libc_hidden_proto(vfprintf)
 libc_hidden_proto(vfprintf)
 libc_hidden_proto(fflush)
 libc_hidden_proto(fflush)

+ 2 - 2
libc/misc/internals/__uClibc_main.c

@@ -27,7 +27,7 @@
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <sys/sysmacros.h>
 #include <sys/sysmacros.h>
 
 
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 
 
 #ifdef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
 #ifdef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
 /* Experimentally off - libc_hidden_proto(strrchr) */
 /* Experimentally off - libc_hidden_proto(strrchr) */
@@ -39,7 +39,7 @@ libc_hidden_proto(getuid)
 libc_hidden_proto(getegid)
 libc_hidden_proto(getegid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(fstat)
 libc_hidden_proto(fstat)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 extern __typeof(open) __libc_open;
 extern __typeof(open) __libc_open;
 libc_hidden_proto(__libc_open)
 libc_hidden_proto(__libc_open)

+ 1 - 1
libc/misc/internals/tempname.c

@@ -54,7 +54,7 @@ libc_hidden_proto(open)
 libc_hidden_proto(open64)
 libc_hidden_proto(open64)
 #endif
 #endif
 libc_hidden_proto(read)
 libc_hidden_proto(read)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(getpid)
 libc_hidden_proto(getpid)
 libc_hidden_proto(stat)
 libc_hidden_proto(stat)
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(gettimeofday)

+ 1 - 1
libc/misc/locale/locale.c

@@ -1382,7 +1382,7 @@ void freelocale(__locale_t dataset)
 /**********************************************************************/
 /**********************************************************************/
 #ifdef L_uselocale
 #ifdef L_uselocale
 
 
-libc_hidden_proto(uselocale)
+/* libc_hidden_proto(uselocale) */
 __locale_t uselocale(__locale_t dataset)
 __locale_t uselocale(__locale_t dataset)
 {
 {
 	__locale_t old;
 	__locale_t old;

+ 1 - 1
libc/misc/mntent/mntent.c

@@ -23,7 +23,7 @@ libc_hidden_proto(fopen)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fseek)
 libc_hidden_proto(fseek)
 libc_hidden_proto(fgets)
 libc_hidden_proto(fgets)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
 
 
 /* Reentrant version of getmntent.  */
 /* Reentrant version of getmntent.  */

+ 1 - 1
libc/misc/regex/regex.c

@@ -87,7 +87,7 @@ libc_hidden_proto(tolower)
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 libc_hidden_proto(getenv)
 libc_hidden_proto(getenv)
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 /* Experimentally off - libc_hidden_proto(mempcpy) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
 #endif
 #endif

+ 1 - 1
libc/misc/regex/regex_old.c

@@ -44,7 +44,7 @@
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 libc_hidden_proto(printf)
 libc_hidden_proto(printf)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 /* Experimentally off - libc_hidden_proto(mempcpy) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
 #endif
 #endif

+ 1 - 1
libc/misc/syslog/syslog.c

@@ -93,7 +93,7 @@ libc_hidden_proto(closelog)
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(socket)
 libc_hidden_proto(socket)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(write)
 libc_hidden_proto(write)
 libc_hidden_proto(getpid)
 libc_hidden_proto(getpid)
 libc_hidden_proto(ctime)
 libc_hidden_proto(ctime)

+ 1 - 1
libc/misc/time/time.c

@@ -169,7 +169,7 @@ libc_hidden_proto(localtime_r)
 /* libc_hidden_proto(sprintf) */
 /* libc_hidden_proto(sprintf) */
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(read)
 libc_hidden_proto(read)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(getenv)
 libc_hidden_proto(getenv)
 libc_hidden_proto(tzset)
 libc_hidden_proto(tzset)
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(gettimeofday)

+ 1 - 1
libc/misc/ttyent/getttyent.c

@@ -48,7 +48,7 @@ libc_hidden_proto(getc_unlocked)
 libc_hidden_proto(__fgetc_unlocked)
 libc_hidden_proto(__fgetc_unlocked)
 libc_hidden_proto(fopen)
 libc_hidden_proto(fopen)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 #ifdef __UCLIBC_HAS_XLOCALE__
 libc_hidden_proto(__ctype_b_loc)
 libc_hidden_proto(__ctype_b_loc)
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__

+ 1 - 1
libc/misc/utmp/utent.c

@@ -27,7 +27,7 @@ libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(fcntl)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(lseek)
 libc_hidden_proto(lseek)
 
 
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>

+ 1 - 1
libc/misc/utmp/wtent.c

@@ -21,7 +21,7 @@ libc_hidden_proto(updwtmp)
 #endif
 #endif
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(lockf)
 libc_hidden_proto(lockf)
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(gettimeofday)
 
 

+ 2 - 2
libc/misc/wordexp/wordexp.c

@@ -58,13 +58,13 @@ libc_hidden_proto(fnmatch)
 libc_hidden_proto(pipe)
 libc_hidden_proto(pipe)
 libc_hidden_proto(fork)
 libc_hidden_proto(fork)
 libc_hidden_proto(open)
 libc_hidden_proto(open)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(getenv)
 libc_hidden_proto(getenv)
 libc_hidden_proto(getpid)
 libc_hidden_proto(getpid)
 libc_hidden_proto(sprintf)
 libc_hidden_proto(sprintf)
 libc_hidden_proto(fprintf)
 libc_hidden_proto(fprintf)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 libc_hidden_proto(glob)
 libc_hidden_proto(glob)
 libc_hidden_proto(globfree)
 libc_hidden_proto(globfree)
 libc_hidden_proto(wordfree)
 libc_hidden_proto(wordfree)

+ 1 - 1
libc/pwd_grp/lckpwdf.c

@@ -31,7 +31,7 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(fcntl)
 libc_hidden_proto(fcntl)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(sigfillset)
 libc_hidden_proto(sigfillset)
 libc_hidden_proto(sigaction)
 libc_hidden_proto(sigaction)
 libc_hidden_proto(sigprocmask)
 libc_hidden_proto(sigprocmask)

+ 1 - 1
libc/stdio/_READ.c

@@ -8,7 +8,7 @@
 #include "_stdio.h"
 #include "_stdio.h"
 
 
 libc_hidden_proto(read)
 libc_hidden_proto(read)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /* Given a reading stream without its end-of-file indicator set and
 /* Given a reading stream without its end-of-file indicator set and
  * with no buffered input or ungots, read at most 'bufsize' bytes
  * with no buffered input or ungots, read at most 'bufsize' bytes

+ 1 - 1
libc/stdio/_cs_funcs.c

@@ -9,7 +9,7 @@
 
 
 libc_hidden_proto(read)
 libc_hidden_proto(read)
 libc_hidden_proto(write)
 libc_hidden_proto(write)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 #ifdef __UCLIBC_HAS_LFS__
 #ifdef __UCLIBC_HAS_LFS__
 libc_hidden_proto(lseek64)
 libc_hidden_proto(lseek64)
 #else
 #else

+ 1 - 1
libc/stdio/_vfprintf.c

@@ -121,7 +121,7 @@
 /* Experimentally off - libc_hidden_proto(strnlen) */
 /* Experimentally off - libc_hidden_proto(strnlen) */
 libc_hidden_proto(__glibc_strerror_r)
 libc_hidden_proto(__glibc_strerror_r)
 libc_hidden_proto(fputs_unlocked)
 libc_hidden_proto(fputs_unlocked)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 #ifdef __UCLIBC_HAS_WCHAR__
 #ifdef __UCLIBC_HAS_WCHAR__
 libc_hidden_proto(wcslen)
 libc_hidden_proto(wcslen)
 libc_hidden_proto(wcsnlen)
 libc_hidden_proto(wcsnlen)

+ 1 - 1
libc/stdio/fclose.c

@@ -8,7 +8,7 @@
 #include "_stdio.h"
 #include "_stdio.h"
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
 
 
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(fflush_unlocked)
 libc_hidden_proto(fflush_unlocked)
 
 
 int fclose(register FILE *stream)
 int fclose(register FILE *stream)

+ 1 - 1
libc/stdio/popen.c

@@ -26,7 +26,7 @@
 #warning "hmm... susv3 says Pipe streams are byte-oriented."
 #warning "hmm... susv3 says Pipe streams are byte-oriented."
 #endif /* __UCLIBC_MJN3_ONLY__ */
 #endif /* __UCLIBC_MJN3_ONLY__ */
 
 
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(_exit)
 libc_hidden_proto(_exit)
 libc_hidden_proto(waitpid)
 libc_hidden_proto(waitpid)
 libc_hidden_proto(execl)
 libc_hidden_proto(execl)

+ 1 - 1
libc/stdio/tmpfile.c

@@ -23,7 +23,7 @@
 
 
 libc_hidden_proto(fdopen)
 libc_hidden_proto(fdopen)
 libc_hidden_proto(remove)
 libc_hidden_proto(remove)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 
 
 /* This returns a new stream opened on a temporary file (generated
 /* This returns a new stream opened on a temporary file (generated
    by tmpnam).  The file is opened with mode "w+b" (binary read/write).
    by tmpnam).  The file is opened with mode "w+b" (binary read/write).

+ 1 - 1
libc/stdlib/_atexit.c

@@ -46,7 +46,7 @@
 #include <bits/uClibc_mutex.h>
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_EXTERN(__atexit_lock);
 __UCLIBC_MUTEX_EXTERN(__atexit_lock);
 
 
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 libc_hidden_proto(_exit)
 libc_hidden_proto(_exit)
 
 
 
 

+ 1 - 1
libc/stdlib/abort.c

@@ -26,7 +26,7 @@ Cambridge, MA 02139, USA.  */
 #include <signal.h>
 #include <signal.h>
 #include <errno.h>
 #include <errno.h>
 
 
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 libc_hidden_proto(sigaction)
 libc_hidden_proto(sigaction)

+ 1 - 1
libc/stdlib/arc4random.c

@@ -40,7 +40,7 @@
 
 
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(read)
 libc_hidden_proto(read)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(gettimeofday)
 
 
 struct arc4_stream {
 struct arc4_stream {

+ 1 - 1
libc/stdlib/getpt.c

@@ -29,7 +29,7 @@ extern __typeof(statfs) __libc_statfs;
 libc_hidden_proto(__libc_statfs)
 libc_hidden_proto(__libc_statfs)
 
 
 libc_hidden_proto(open)
 libc_hidden_proto(open)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 
 
 #if !defined __ASSUME_DEVPTS__
 #if !defined __ASSUME_DEVPTS__
 
 

+ 1 - 1
libc/stdlib/malloc-standard/malloc.h

@@ -27,7 +27,7 @@
 libc_hidden_proto(mmap)
 libc_hidden_proto(mmap)
 libc_hidden_proto(sysconf)
 libc_hidden_proto(sysconf)
 libc_hidden_proto(sbrk)
 libc_hidden_proto(sbrk)
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 
 
 __UCLIBC_MUTEX_EXTERN(__malloc_lock);
 __UCLIBC_MUTEX_EXTERN(__malloc_lock);

+ 1 - 1
libc/string/generic/memchr.c

@@ -26,7 +26,7 @@
 #include <limits.h>
 #include <limits.h>
 
 
 /* Experimentally off - libc_hidden_proto(memchr) */
 /* Experimentally off - libc_hidden_proto(memchr) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include "memcopy.h"
 #include "memcopy.h"
 
 

+ 1 - 1
libc/string/generic/memrchr.c

@@ -28,7 +28,7 @@
 
 
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 /* Experimentally off - libc_hidden_proto(memrchr) */
 /* Experimentally off - libc_hidden_proto(memrchr) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include "memcopy.h"
 #include "memcopy.h"
 
 

+ 1 - 1
libc/string/generic/rawmemchr.c

@@ -27,7 +27,7 @@
 
 
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 /* Experimentally off - libc_hidden_proto(rawmemchr) */
 /* Experimentally off - libc_hidden_proto(rawmemchr) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include "memcopy.h"
 #include "memcopy.h"
 
 

+ 1 - 1
libc/string/generic/strchr.c

@@ -25,7 +25,7 @@
 #include <stdlib.h>
 #include <stdlib.h>
 
 
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strchr) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include "memcopy.h"
 #include "memcopy.h"
 
 

+ 1 - 1
libc/string/generic/strchrnul.c

@@ -26,7 +26,7 @@
 
 
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 /* Experimentally off - libc_hidden_proto(strchrnul) */
 /* Experimentally off - libc_hidden_proto(strchrnul) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 #include "memcopy.h"
 #include "memcopy.h"
 
 

+ 1 - 1
libc/string/generic/strlen.c

@@ -23,7 +23,7 @@
 #include <stdlib.h>
 #include <stdlib.h>
 
 
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /* Return the length of the null-terminated string STR.  Scan for
 /* Return the length of the null-terminated string STR.  Scan for
    the null terminator quickly by testing four bytes at a time.  */
    the null terminator quickly by testing four bytes at a time.  */

+ 1 - 1
libc/string/generic/strnlen.c

@@ -26,7 +26,7 @@
 
 
 #ifdef __USE_GNU
 #ifdef __USE_GNU
 /* Experimentally off - libc_hidden_proto(strnlen) */
 /* Experimentally off - libc_hidden_proto(strnlen) */
-libc_hidden_proto(abort)
+/* libc_hidden_proto(abort) */
 
 
 /* Find the length of S, but scan at most MAXLEN characters.  If no
 /* Find the length of S, but scan at most MAXLEN characters.  If no
    '\0' terminator is found in that many characters, return MAXLEN.  */
    '\0' terminator is found in that many characters, return MAXLEN.  */

+ 1 - 1
libc/sysdeps/linux/arm/ioperm.c

@@ -58,7 +58,7 @@ libc_hidden_proto(fopen)
 libc_hidden_proto(fclose)
 libc_hidden_proto(fclose)
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 libc_hidden_proto(open)
 libc_hidden_proto(open)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 
 
 #include <linux/version.h>
 #include <linux/version.h>
 
 

+ 1 - 1
libc/sysdeps/linux/common/close.c

@@ -13,6 +13,6 @@
 extern __typeof(close) __libc_close;
 extern __typeof(close) __libc_close;
 #define __NR___libc_close __NR_close
 #define __NR___libc_close __NR_close
 _syscall1(int, __libc_close, int, fd)
 _syscall1(int, __libc_close, int, fd)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 weak_alias(__libc_close,close)
 weak_alias(__libc_close,close)
 libc_hidden_weak(close)
 libc_hidden_weak(close)

+ 1 - 1
libc/sysdeps/linux/common/dl-osinfo.h

@@ -23,7 +23,7 @@
 #include <fcntl.h>
 #include <fcntl.h>
 libc_hidden_proto(open)
 libc_hidden_proto(open)
 libc_hidden_proto(read)
 libc_hidden_proto(read)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(gettimeofday)
 libc_hidden_proto(gettimeofday)
 #   define OPEN open
 #   define OPEN open
 #   define READ read
 #   define READ read

+ 1 - 1
libc/unistd/daemon.c

@@ -49,7 +49,7 @@
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
 
 
 libc_hidden_proto(open)
 libc_hidden_proto(open)
-libc_hidden_proto(close)
+/* libc_hidden_proto(close) */
 libc_hidden_proto(_exit)
 libc_hidden_proto(_exit)
 libc_hidden_proto(dup2)
 libc_hidden_proto(dup2)
 libc_hidden_proto(setsid)
 libc_hidden_proto(setsid)

+ 2 - 1
libpthread/linuxthreads.old/forward.c

@@ -22,9 +22,9 @@
 #include <dlfcn.h>
 #include <dlfcn.h>
 
 
 /* psm: keep this before internals.h */
 /* psm: keep this before internals.h */
-libc_hidden_proto(exit)
 #if 0
 #if 0
 vda: here is why:
 vda: here is why:
+headers contain libc_hidden_proto(foo).
 In libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h
 In libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h
 adding libc_hidden_proto(foo) just before weak_extern (__pthread_initialize)
 adding libc_hidden_proto(foo) just before weak_extern (__pthread_initialize)
 will not warn:
 will not warn:
@@ -38,6 +38,7 @@ TODO: determine whether it is a gcc bug or what
 For now, just include all headers before internals.h
 For now, just include all headers before internals.h
 (they are again included in internals.h - maybe remove them there later)
 (they are again included in internals.h - maybe remove them there later)
 #endif
 #endif
+
 #include <string.h>
 #include <string.h>
 #include <limits.h>
 #include <limits.h>
 #include <setjmp.h>
 #include <setjmp.h>

+ 1 - 1
libpthread/linuxthreads.old/libc_pthread_init.c

@@ -27,7 +27,7 @@
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 
 
 #if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
 #if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(uselocale)
+/* libc_hidden_proto(uselocale) */
 #endif
 #endif
 
 
 int __libc_multiple_threads attribute_hidden __attribute__((nocommon));
 int __libc_multiple_threads attribute_hidden __attribute__((nocommon));

+ 1 - 1
libpthread/linuxthreads/forward.c

@@ -22,7 +22,7 @@
 #include <dlfcn.h>
 #include <dlfcn.h>
 
 
 /* psm: keep this before internals.h */
 /* psm: keep this before internals.h */
-libc_hidden_proto(exit)
+/* libc_hidden_proto(exit) */
 
 
 #include "internals.h"
 #include "internals.h"
 
 

+ 1 - 1
libpthread/linuxthreads/libc_pthread_init.c

@@ -30,7 +30,7 @@
 #endif
 #endif
 
 
 #if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
 #if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(uselocale)
+/* libc_hidden_proto(uselocale) */
 #endif
 #endif
 
 
 int *
 int *