Browse Source

next portion of libc_hidden_proto removal

Denis Vlasenko 16 years ago
parent
commit
b133fe1cac
100 changed files with 253 additions and 220 deletions
  1. 2 0
      include/ctype.h
  2. 2 0
      include/fcntl.h
  3. 1 0
      include/rpc/rpc_msg.h
  4. 1 0
      include/rpc/xdr.h
  5. 2 0
      include/signal.h
  6. 8 0
      include/stdio.h
  7. 1 0
      include/stdlib.h
  8. 1 0
      include/sys/ioctl.h
  9. 1 0
      include/sys/mman.h
  10. 1 0
      include/sys/poll.h
  11. 1 0
      include/sys/socket.h
  12. 3 0
      include/sys/stat.h
  13. 1 0
      include/sys/time.h
  14. 7 0
      include/unistd.h
  15. 1 0
      include/wchar.h
  16. 1 1
      libc/inet/ether_addr.c
  17. 1 1
      libc/inet/getaddrinfo.c
  18. 2 2
      libc/inet/getnetent.c
  19. 2 2
      libc/inet/getproto.c
  20. 2 2
      libc/inet/getservice.c
  21. 3 3
      libc/inet/hostid.c
  22. 1 1
      libc/inet/if_index.c
  23. 1 1
      libc/inet/ifaddrs.c
  24. 2 2
      libc/inet/ntop.c
  25. 1 1
      libc/inet/opensock.c
  26. 6 6
      libc/inet/resolv.c
  27. 1 1
      libc/inet/rpc/auth_none.c
  28. 5 5
      libc/inet/rpc/auth_unix.c
  29. 1 1
      libc/inet/rpc/bindresvport.c
  30. 3 3
      libc/inet/rpc/clnt_perror.c
  31. 3 3
      libc/inet/rpc/clnt_raw.c
  32. 8 8
      libc/inet/rpc/clnt_tcp.c
  33. 7 7
      libc/inet/rpc/clnt_udp.c
  34. 7 7
      libc/inet/rpc/clnt_unix.c
  35. 1 1
      libc/inet/rpc/create_xid.c
  36. 3 3
      libc/inet/rpc/get_myaddress.c
  37. 2 2
      libc/inet/rpc/getrpcent.c
  38. 3 3
      libc/inet/rpc/pmap_clnt.c
  39. 6 6
      libc/inet/rpc/pmap_rmt.c
  40. 11 11
      libc/inet/rpc/rcmd.c
  41. 5 5
      libc/inet/rpc/rexec.c
  42. 1 1
      libc/inet/rpc/rpc_prot.c
  43. 3 3
      libc/inet/rpc/rtime.c
  44. 4 4
      libc/inet/rpc/ruserpass.c
  45. 2 2
      libc/inet/rpc/svc_authux.c
  46. 2 2
      libc/inet/rpc/svc_raw.c
  47. 2 2
      libc/inet/rpc/svc_run.c
  48. 2 2
      libc/inet/rpc/svc_simple.c
  49. 7 7
      libc/inet/rpc/svc_tcp.c
  50. 6 6
      libc/inet/rpc/svc_udp.c
  51. 6 6
      libc/inet/rpc/svc_unix.c
  52. 2 2
      libc/inet/rpc/xdr.c
  53. 2 2
      libc/inet/rpc/xdr_array.c
  54. 1 1
      libc/inet/rpc/xdr_mem.c
  55. 3 3
      libc/inet/rpc/xdr_rec.c
  56. 2 2
      libc/inet/rpc/xdr_reference.c
  57. 1 1
      libc/inet/socketcalls.c
  58. 2 2
      libc/misc/ctype/ctype.c
  59. 4 4
      libc/misc/dirent/opendir.c
  60. 1 1
      libc/misc/dirent/rewinddir.c
  61. 1 1
      libc/misc/dirent/seekdir.c
  62. 2 2
      libc/misc/error/err.c
  63. 1 1
      libc/misc/error/error.c
  64. 2 2
      libc/misc/file/lockf.c
  65. 2 2
      libc/misc/file/lockf64.c
  66. 2 2
      libc/misc/fnmatch/fnmatch.c
  67. 1 1
      libc/misc/fnmatch/fnmatch_old.c
  68. 2 2
      libc/misc/ftw/ftw.c
  69. 1 1
      libc/misc/glob/glob-susv3.c
  70. 1 1
      libc/misc/glob/glob.c
  71. 1 1
      libc/misc/internals/__uClibc_main.c
  72. 6 6
      libc/misc/internals/tempname.c
  73. 1 1
      libc/misc/locale/locale.c
  74. 2 2
      libc/misc/mntent/mntent.c
  75. 3 3
      libc/misc/regex/regex.c
  76. 1 1
      libc/misc/regex/regex_old.c
  77. 3 3
      libc/misc/statfs/fstatvfs.c
  78. 1 1
      libc/misc/statfs/fstatvfs64.c
  79. 1 1
      libc/misc/statfs/statvfs.c
  80. 7 7
      libc/misc/syslog/syslog.c
  81. 1 1
      libc/misc/sysvipc/ftok.c
  82. 1 1
      libc/misc/time/ftime.c
  83. 4 4
      libc/misc/time/time.c
  84. 1 1
      libc/misc/ttyent/getttyent.c
  85. 5 5
      libc/misc/utmp/utent.c
  86. 3 3
      libc/misc/utmp/wtent.c
  87. 2 2
      libc/misc/wctype/_wctype.c
  88. 5 5
      libc/misc/wordexp/wordexp.c
  89. 4 4
      libc/pwd_grp/lckpwdf.c
  90. 2 2
      libc/pwd_grp/pwd_grp.c
  91. 1 1
      libc/signal/raise.c
  92. 1 1
      libc/signal/sigaction.c
  93. 1 1
      libc/signal/sigblock.c
  94. 1 1
      libc/signal/sighold.c
  95. 1 1
      libc/signal/sigignore.c
  96. 1 1
      libc/signal/sigintr.c
  97. 1 1
      libc/signal/sigjmp.c
  98. 1 1
      libc/signal/signal.c
  99. 1 1
      libc/signal/sigpause.c
  100. 1 1
      libc/signal/sigrelse.c

+ 2 - 0
include/ctype.h

@@ -175,9 +175,11 @@ __exctype (isxdigit);
 
 
 /* Return the lowercase version of C.  */
 /* Return the lowercase version of C.  */
 extern int tolower (int __c) __THROW;
 extern int tolower (int __c) __THROW;
+libc_hidden_proto(tolower)
 
 
 /* Return the uppercase version of C.  */
 /* Return the uppercase version of C.  */
 extern int toupper (int __c) __THROW;
 extern int toupper (int __c) __THROW;
+libc_hidden_proto(toupper)
 
 
 __END_NAMESPACE_STD
 __END_NAMESPACE_STD
 
 

+ 2 - 0
include/fcntl.h

@@ -72,6 +72,7 @@ __BEGIN_DECLS
    __THROW.  */
    __THROW.  */
 #ifndef __USE_FILE_OFFSET64
 #ifndef __USE_FILE_OFFSET64
 extern int fcntl (int __fd, int __cmd, ...);
 extern int fcntl (int __fd, int __cmd, ...);
+libc_hidden_proto(fcntl)
 #else
 #else
 # ifdef __REDIRECT
 # ifdef __REDIRECT
 extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64);
 extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64);
@@ -91,6 +92,7 @@ extern int fcntl64 (int __fd, int __cmd, ...);
    __THROW.  */
    __THROW.  */
 #ifndef __USE_FILE_OFFSET64
 #ifndef __USE_FILE_OFFSET64
 extern int open (__const char *__file, int __oflag, ...) __nonnull ((1));
 extern int open (__const char *__file, int __oflag, ...) __nonnull ((1));
+libc_hidden_proto(open)
 #else
 #else
 # ifdef __REDIRECT
 # ifdef __REDIRECT
 extern int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64)
 extern int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64)

+ 1 - 0
include/rpc/rpc_msg.h

@@ -187,6 +187,7 @@ extern bool_t	xdr_callhdr (XDR *__xdrs, struct rpc_msg *__cmsg) __THROW;
  * 	struct rpc_msg *rmsg;
  * 	struct rpc_msg *rmsg;
  */
  */
 extern bool_t	xdr_replymsg (XDR *__xdrs, struct rpc_msg *__rmsg) __THROW;
 extern bool_t	xdr_replymsg (XDR *__xdrs, struct rpc_msg *__rmsg) __THROW;
+libc_hidden_proto(xdr_replymsg)
 
 
 /*
 /*
  * Fills in the error part of a reply message.
  * Fills in the error part of a reply message.

+ 1 - 0
include/rpc/xdr.h

@@ -357,6 +357,7 @@ extern bool_t xdr_netobj (XDR *__xdrs, struct netobj *__np) __THROW;
 /* XDR using memory buffers */
 /* XDR using memory buffers */
 extern void xdrmem_create (XDR *__xdrs, __const caddr_t __addr,
 extern void xdrmem_create (XDR *__xdrs, __const caddr_t __addr,
 			   u_int __size, enum xdr_op __xop) __THROW;
 			   u_int __size, enum xdr_op __xop) __THROW;
+libc_hidden_proto(xdrmem_create)
 
 
 /* XDR using stdio library */
 /* XDR using stdio library */
 extern void xdrstdio_create (XDR *__xdrs, FILE *__file, enum xdr_op __xop)
 extern void xdrstdio_create (XDR *__xdrs, FILE *__file, enum xdr_op __xop)

+ 2 - 0
include/signal.h

@@ -246,6 +246,7 @@ extern int sigorset (sigset_t *__set, __const sigset_t *__left,
 /* Get and/or change the set of blocked signals.  */
 /* Get and/or change the set of blocked signals.  */
 extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
 extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
 			sigset_t *__restrict __oset) __THROW;
 			sigset_t *__restrict __oset) __THROW;
+libc_hidden_proto(sigprocmask)
 
 
 /* Change the set of blocked signals to SET,
 /* Change the set of blocked signals to SET,
    wait until a signal arrives, and restore the set of blocked signals.
    wait until a signal arrives, and restore the set of blocked signals.
@@ -257,6 +258,7 @@ extern int sigsuspend (__const sigset_t *__set) __nonnull ((1));
 /* Get and/or set the action for signal SIG.  */
 /* Get and/or set the action for signal SIG.  */
 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
 		      struct sigaction *__restrict __oact) __THROW;
 		      struct sigaction *__restrict __oact) __THROW;
+libc_hidden_proto(sigaction)
 
 
 /* Put in SET all signals that are blocked and waiting to be delivered.  */
 /* Put in SET all signals that are blocked and waiting to be delivered.  */
 extern int sigpending (sigset_t *__set) __THROW __nonnull ((1));
 extern int sigpending (sigset_t *__set) __THROW __nonnull ((1));

+ 8 - 0
include/stdio.h

@@ -234,6 +234,7 @@ __BEGIN_NAMESPACE_STD
    marked with __THROW.  */
    marked with __THROW.  */
 extern FILE *fopen (__const char *__restrict __filename,
 extern FILE *fopen (__const char *__restrict __filename,
 		    __const char *__restrict __modes) __wur;
 		    __const char *__restrict __modes) __wur;
+libc_hidden_proto(fopen)
 /* Open a file, replacing an existing stream with it.
 /* Open a file, replacing an existing stream with it.
 
 
    This function is a possible cancellation point and therefore not
    This function is a possible cancellation point and therefore not
@@ -259,6 +260,7 @@ __END_NAMESPACE_STD
 #ifdef __USE_LARGEFILE64
 #ifdef __USE_LARGEFILE64
 extern FILE *fopen64 (__const char *__restrict __filename,
 extern FILE *fopen64 (__const char *__restrict __filename,
 		      __const char *__restrict __modes) __wur;
 		      __const char *__restrict __modes) __wur;
+libc_hidden_proto(fopen64)
 extern FILE *freopen64 (__const char *__restrict __filename,
 extern FILE *freopen64 (__const char *__restrict __filename,
 			__const char *__restrict __modes,
 			__const char *__restrict __modes,
 			FILE *__restrict __stream) __wur;
 			FILE *__restrict __stream) __wur;
@@ -325,9 +327,11 @@ libc_hidden_proto(fprintf)
    This function is a possible cancellation point and therefore not
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
    marked with __THROW.  */
 extern int printf (__const char *__restrict __format, ...);
 extern int printf (__const char *__restrict __format, ...);
+libc_hidden_proto(printf)
 /* Write formatted output to S.  */
 /* Write formatted output to S.  */
 extern int sprintf (char *__restrict __s,
 extern int sprintf (char *__restrict __s,
 		    __const char *__restrict __format, ...) __THROW;
 		    __const char *__restrict __format, ...) __THROW;
+libc_hidden_proto(sprintf)
 
 
 /* Write formatted output to S from argument list ARG.
 /* Write formatted output to S from argument list ARG.
 
 
@@ -335,6 +339,7 @@ extern int sprintf (char *__restrict __s,
    marked with __THROW.  */
    marked with __THROW.  */
 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
 		     __gnuc_va_list __arg);
 		     __gnuc_va_list __arg);
+libc_hidden_proto(vfprintf)
 /* Write formatted output to stdout from argument list ARG.
 /* Write formatted output to stdout from argument list ARG.
 
 
    This function is a possible cancellation point and therefore not
    This function is a possible cancellation point and therefore not
@@ -533,6 +538,7 @@ __BEGIN_NAMESPACE_STD
    marked with __THROW.  */
    marked with __THROW.  */
 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      __wur;
      __wur;
+libc_hidden_proto(fgets)
 
 
 /* Get a newline-terminated string from stdin, removing the newline.
 /* Get a newline-terminated string from stdin, removing the newline.
    DO NOT USE THIS FUNCTION!!  There is no limit on how much it will read.
    DO NOT USE THIS FUNCTION!!  There is no limit on how much it will read.
@@ -592,6 +598,7 @@ __BEGIN_NAMESPACE_STD
    This function is a possible cancellation points and therefore not
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
    marked with __THROW.  */
 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
+libc_hidden_proto(fputs)
 
 
 /* Write a string, followed by a newline, to stdout.
 /* Write a string, followed by a newline, to stdout.
 
 
@@ -749,6 +756,7 @@ __BEGIN_NAMESPACE_STD
    This function is a possible cancellation point and therefore not
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
    marked with __THROW.  */
 extern void perror (__const char *__s);
 extern void perror (__const char *__s);
+libc_hidden_proto(perror)
 __END_NAMESPACE_STD
 __END_NAMESPACE_STD
 
 
 #ifdef __UCLIBC_HAS_SYS_ERRLIST__
 #ifdef __UCLIBC_HAS_SYS_ERRLIST__

+ 1 - 0
include/stdlib.h

@@ -532,6 +532,7 @@ __END_NAMESPACE_C99
 __BEGIN_NAMESPACE_STD
 __BEGIN_NAMESPACE_STD
 /* Return the value of envariable NAME, or NULL if it doesn't exist.  */
 /* Return the value of envariable NAME, or NULL if it doesn't exist.  */
 extern char *getenv (__const char *__name) __THROW __nonnull ((1)) __wur;
 extern char *getenv (__const char *__name) __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(getenv)
 __END_NAMESPACE_STD
 __END_NAMESPACE_STD
 
 
 /* This function is similar to the above but returns NULL if the
 /* This function is similar to the above but returns NULL if the

+ 1 - 0
include/sys/ioctl.h

@@ -40,6 +40,7 @@ __BEGIN_DECLS
    One argument may follow; its presence and type depend on REQUEST.
    One argument may follow; its presence and type depend on REQUEST.
    Return value depends on REQUEST.  Usually -1 indicates error.  */
    Return value depends on REQUEST.  Usually -1 indicates error.  */
 extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
 extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
+libc_hidden_proto(ioctl)
 
 
 __END_DECLS
 __END_DECLS
 
 

+ 1 - 0
include/sys/mman.h

@@ -57,6 +57,7 @@ __BEGIN_DECLS
 #ifndef __USE_FILE_OFFSET64
 #ifndef __USE_FILE_OFFSET64
 extern void *mmap (void *__addr, size_t __len, int __prot,
 extern void *mmap (void *__addr, size_t __len, int __prot,
 		   int __flags, int __fd, __off_t __offset) __THROW;
 		   int __flags, int __fd, __off_t __offset) __THROW;
+libc_hidden_proto(mmap)
 #else
 #else
 # ifdef __REDIRECT
 # ifdef __REDIRECT
 extern void * __REDIRECT (mmap,
 extern void * __REDIRECT (mmap,

+ 1 - 0
include/sys/poll.h

@@ -58,6 +58,7 @@ __BEGIN_DECLS
    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 poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
 extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
+libc_hidden_proto(poll)
 
 
 #if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
 #if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
 /* Like poll, but before waiting the threads signal mask is replaced
 /* Like poll, but before waiting the threads signal mask is replaced

+ 1 - 0
include/sys/socket.h

@@ -98,6 +98,7 @@ typedef union { __SOCKADDR_ALLTYPES
    protocol PROTOCOL.  If PROTOCOL is zero, one is chosen automatically.
    protocol PROTOCOL.  If PROTOCOL is zero, one is chosen automatically.
    Returns a file descriptor for the new socket, or -1 for errors.  */
    Returns a file descriptor for the new socket, or -1 for errors.  */
 extern int socket (int __domain, int __type, int __protocol) __THROW;
 extern int socket (int __domain, int __type, int __protocol) __THROW;
+libc_hidden_proto(socket)
 
 
 /* Create two new sockets, of type TYPE in domain DOMAIN and using
 /* Create two new sockets, of type TYPE in domain DOMAIN and using
    protocol PROTOCOL, which are connected to each other, and put file
    protocol PROTOCOL, which are connected to each other, and put file

+ 3 - 0
include/sys/stat.h

@@ -206,10 +206,12 @@ __BEGIN_DECLS
 /* Get file attributes for FILE and put them in BUF.  */
 /* Get file attributes for FILE and put them in BUF.  */
 extern int stat (__const char *__restrict __file,
 extern int stat (__const char *__restrict __file,
 		 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
 		 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
+libc_hidden_proto(stat)
 
 
 /* Get file attributes for the file, device, pipe, or socket
 /* Get file attributes for the file, device, pipe, or socket
    that file descriptor FD is open on and put them in BUF.  */
    that file descriptor FD is open on and put them in BUF.  */
 extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
 extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
+libc_hidden_proto(fstat)
 #else
 #else
 # ifdef __REDIRECT_NTH
 # ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (stat, (__const char *__restrict __file,
 extern int __REDIRECT_NTH (stat, (__const char *__restrict __file,
@@ -258,6 +260,7 @@ extern int fstatat64 (int __fd, __const char *__restrict __file,
    If FILE is a symbolic link, do not follow it.  */
    If FILE is a symbolic link, do not follow it.  */
 extern int lstat (__const char *__restrict __file,
 extern int lstat (__const char *__restrict __file,
 		  struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
 		  struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
+libc_hidden_proto(lstat)
 # else
 # else
 #  ifdef __REDIRECT_NTH
 #  ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (lstat,
 extern int __REDIRECT_NTH (lstat,

+ 1 - 0
include/sys/time.h

@@ -71,6 +71,7 @@ typedef void *__restrict __timezone_ptr_t;
    Use the functions and variables declared in <time.h> instead.  */
    Use the functions and variables declared in <time.h> instead.  */
 extern int gettimeofday (struct timeval *__restrict __tv,
 extern int gettimeofday (struct timeval *__restrict __tv,
 			 __timezone_ptr_t __tz) __THROW __nonnull ((1));
 			 __timezone_ptr_t __tz) __THROW __nonnull ((1));
+libc_hidden_proto(gettimeofday)
 
 
 #ifdef __USE_BSD
 #ifdef __USE_BSD
 /* Set the current time of day and timezone information.
 /* Set the current time of day and timezone information.

+ 7 - 0
include/unistd.h

@@ -297,6 +297,7 @@ extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
    Return the new file position.  */
    Return the new file position.  */
 #ifndef __USE_FILE_OFFSET64
 #ifndef __USE_FILE_OFFSET64
 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __THROW;
 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __THROW;
+libc_hidden_proto(lseek)
 #else
 #else
 # ifdef __REDIRECT_NTH
 # ifdef __REDIRECT_NTH
 extern __off64_t __REDIRECT_NTH (lseek,
 extern __off64_t __REDIRECT_NTH (lseek,
@@ -324,12 +325,14 @@ libc_hidden_proto(close)
    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 ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;
 extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;
+libc_hidden_proto(read)
 
 
 /* Write N bytes of BUF to FD.  Return the number written, or -1.
 /* Write N bytes of BUF to FD.  Return the number written, or -1.
 
 
    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 ssize_t write (int __fd, __const void *__buf, size_t __n) __wur;
 extern ssize_t write (int __fd, __const void *__buf, size_t __n) __wur;
+libc_hidden_proto(write)
 
 
 #ifdef __USE_UNIX98
 #ifdef __USE_UNIX98
 # ifndef __USE_FILE_OFFSET64
 # ifndef __USE_FILE_OFFSET64
@@ -545,6 +548,7 @@ extern int nice (int __inc) __THROW __wur;
 
 
 /* Terminate program execution with the low-order 8 bits of STATUS.  */
 /* Terminate program execution with the low-order 8 bits of STATUS.  */
 extern void _exit (int __status) __attribute__ ((__noreturn__));
 extern void _exit (int __status) __attribute__ ((__noreturn__));
+libc_hidden_proto(_exit)
 
 
 
 
 /* Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
 /* Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
@@ -570,6 +574,7 @@ extern size_t confstr (int __name, char *__buf, size_t __len) __THROW;
 
 
 /* Get the process ID of the calling process.  */
 /* Get the process ID of the calling process.  */
 extern __pid_t getpid (void) __THROW;
 extern __pid_t getpid (void) __THROW;
+libc_hidden_proto(getpid)
 
 
 /* Get the process ID of the calling process's parent.  */
 /* Get the process ID of the calling process's parent.  */
 extern __pid_t getppid (void) __THROW;
 extern __pid_t getppid (void) __THROW;
@@ -998,12 +1003,14 @@ extern int ftruncate64 (int __fd, __off64_t __length) __THROW __wur;
 /* Set the end of accessible data space (aka "the break") to ADDR.
 /* Set the end of accessible data space (aka "the break") to ADDR.
    Returns zero on success and -1 for errors (with errno set).  */
    Returns zero on success and -1 for errors (with errno set).  */
 extern int brk (void *__addr) __THROW __wur;
 extern int brk (void *__addr) __THROW __wur;
+libc_hidden_proto(brk)
 
 
 /* Increase or decrease the end of accessible data space by DELTA bytes.
 /* Increase or decrease the end of accessible data space by DELTA bytes.
    If successful, returns the address the previous end of data space
    If successful, returns the address the previous end of data space
    (i.e. the beginning of the new space, if DELTA > 0);
    (i.e. the beginning of the new space, if DELTA > 0);
    returns (void *) -1 for errors (with errno set).  */
    returns (void *) -1 for errors (with errno set).  */
 extern void *sbrk (intptr_t __delta) __THROW;
 extern void *sbrk (intptr_t __delta) __THROW;
+libc_hidden_proto(sbrk)
 #endif
 #endif
 
 
 
 

+ 1 - 0
include/wchar.h

@@ -520,6 +520,7 @@ extern int fwide (__FILE *__fp, int __mode) __THROW;
 extern int fwprintf (__FILE *__restrict __stream,
 extern int fwprintf (__FILE *__restrict __stream,
 		     __const wchar_t *__restrict __format, ...)
 		     __const wchar_t *__restrict __format, ...)
      /* __attribute__ ((__format__ (__wprintf__, 2, 3))) */;
      /* __attribute__ ((__format__ (__wprintf__, 2, 3))) */;
+libc_hidden_proto(fwprintf)
 /* Write formatted output to stdout.
 /* Write formatted output to stdout.
 
 
    This function is a possible cancellation point and therefore not
    This function is a possible cancellation point and therefore not

+ 1 - 1
libc/inet/ether_addr.c

@@ -32,7 +32,7 @@
 #include <netinet/if_ether.h>
 #include <netinet/if_ether.h>
 
 
 libc_hidden_proto(ether_ntoa_r)
 libc_hidden_proto(ether_ntoa_r)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
 /* libc_hidden_proto(__ctype_b_loc) */
 /* libc_hidden_proto(__ctype_tolower_loc) */
 /* libc_hidden_proto(__ctype_tolower_loc) */

+ 1 - 1
libc/inet/getaddrinfo.c

@@ -77,7 +77,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* 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)

+ 2 - 2
libc/inet/getnetent.c

@@ -23,11 +23,11 @@
 #include <arpa/inet.h>
 #include <arpa/inet.h>
 #include <unistd.h>
 #include <unistd.h>
 
 
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* 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>

+ 2 - 2
libc/inet/getproto.c

@@ -62,12 +62,12 @@
 #include <errno.h>
 #include <errno.h>
 #include <unistd.h>
 #include <unistd.h>
 
 
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strpbrk) */
 /* Experimentally off - libc_hidden_proto(strpbrk) */
 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(fclose) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(abort) */
 /* libc_hidden_proto(abort) */
 
 

+ 2 - 2
libc/inet/getservice.c

@@ -66,11 +66,11 @@
 
 
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strpbrk) */
 /* Experimentally off - libc_hidden_proto(strpbrk) */
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* 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>

+ 3 - 3
libc/inet/hostid.c

@@ -16,10 +16,10 @@
 #include <unistd.h>
 #include <unistd.h>
 
 
 /* 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)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(gethostbyname_r)
 libc_hidden_proto(gethostbyname_r)

+ 1 - 1
libc/inet/if_index.c

@@ -37,7 +37,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) */

+ 1 - 1
libc/inet/ifaddrs.c

@@ -39,7 +39,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)

+ 2 - 2
libc/inet/ntop.c

@@ -35,8 +35,8 @@
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* 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(sprintf)
+/* libc_hidden_proto(sprintf) */
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
 
 
 /*
 /*
  * WARNING: Don't even consider trying to compile this on a system where
  * WARNING: Don't even consider trying to compile this on a system where

+ 1 - 1
libc/inet/opensock.c

@@ -25,7 +25,7 @@
 #include <features.h>
 #include <features.h>
 #include <libc-internal.h>
 #include <libc-internal.h>
 
 
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
 
 
 /* Return a socket of any type.  The socket can be used in subsequent
 /* Return a socket of any type.  The socket can be used in subsequent
    ioctl calls to talk to the kernel.  */
    ioctl calls to talk to the kernel.  */

+ 6 - 6
libc/inet/resolv.c

@@ -177,9 +177,9 @@
 /* libc_hidden_proto(strnlen) */
 /* libc_hidden_proto(strnlen) */
 /* 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)
 libc_hidden_proto(getservbyport)
 libc_hidden_proto(getservbyport)
@@ -190,14 +190,14 @@ libc_hidden_proto(inet_aton)
 libc_hidden_proto(inet_pton)
 libc_hidden_proto(inet_pton)
 libc_hidden_proto(inet_ntop)
 libc_hidden_proto(inet_ntop)
 libc_hidden_proto(connect)
 libc_hidden_proto(connect)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
 libc_hidden_proto(select)
 libc_hidden_proto(select)
 libc_hidden_proto(recv)
 libc_hidden_proto(recv)
 libc_hidden_proto(send)
 libc_hidden_proto(send)
-libc_hidden_proto(printf)
+/* libc_hidden_proto(printf) */
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
 libc_hidden_proto(snprintf)
 libc_hidden_proto(snprintf)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
 libc_hidden_proto(getnameinfo)
 libc_hidden_proto(getnameinfo)
 libc_hidden_proto(gethostbyname)
 libc_hidden_proto(gethostbyname)
 libc_hidden_proto(gethostbyname_r)
 libc_hidden_proto(gethostbyname_r)

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

@@ -39,7 +39,7 @@
 #include <features.h>
 #include <features.h>
 #include "rpc_private.h"
 #include "rpc_private.h"
 
 
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(xdr_opaque_auth)
 
 
 #define MAX_MARSHAL_SIZE 20
 #define MAX_MARSHAL_SIZE 20

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

@@ -62,15 +62,15 @@ libc_hidden_proto(getegid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(getgroups)
 libc_hidden_proto(getgroups)
 libc_hidden_proto(gethostname)
 libc_hidden_proto(gethostname)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_authunix_parms)
 libc_hidden_proto(xdr_authunix_parms)
 libc_hidden_proto(xdr_opaque_auth)
 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/bindresvport.c

@@ -42,7 +42,7 @@
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 libc_hidden_proto(bind)
 libc_hidden_proto(bind)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
 
 
 /*
 /*
  * Bind a socket to a privileged IP port
  * Bind a socket to a privileged IP port

+ 3 - 3
libc/inet/rpc/clnt_perror.c

@@ -53,11 +53,11 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
 
 
 /* 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(sprintf)
+/* libc_hidden_proto(sprintf) */
 libc_hidden_proto(__glibc_strerror_r)
 libc_hidden_proto(__glibc_strerror_r)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 static char *auth_errmsg (enum auth_stat stat) internal_function;
 static char *auth_errmsg (enum auth_stat stat) internal_function;

+ 3 - 3
libc/inet/rpc/clnt_raw.c

@@ -48,11 +48,11 @@ static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/svc.h>
 #include <rpc/svc.h>
 #include <rpc/xdr.h>
 #include <rpc/xdr.h>
 
 
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
 libc_hidden_proto(authnone_create)
 libc_hidden_proto(authnone_create)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_callhdr)
 libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(svc_getreq)
 libc_hidden_proto(svc_getreq)
 libc_hidden_proto(_seterr_reply)
 libc_hidden_proto(_seterr_reply)

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

@@ -65,28 +65,28 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
 # include <wchar.h>
 # include <wchar.h>
 #endif
 #endif
 
 
-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)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdr_callhdr)
 libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(xdr_opaque_auth)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_void)
 libc_hidden_proto(xdr_void)
 libc_hidden_proto(pmap_getport)
 libc_hidden_proto(pmap_getport)
 libc_hidden_proto(_seterr_reply)
 libc_hidden_proto(_seterr_reply)
 libc_hidden_proto(connect)
 libc_hidden_proto(connect)
 libc_hidden_proto(bindresvport)
 libc_hidden_proto(bindresvport)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 libc_hidden_proto(__rpc_thread_createerr)
 libc_hidden_proto(__rpc_thread_createerr)
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 extern u_long _create_xid (void) attribute_hidden;
 extern u_long _create_xid (void) attribute_hidden;

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

@@ -54,7 +54,7 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
 #include <net/if.h>
 #include <net/if.h>
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
 # include <wchar.h>
 # include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 #ifdef IP_RECVERR
 #ifdef IP_RECVERR
@@ -63,16 +63,16 @@ libc_hidden_proto(fwprintf)
 #endif
 #endif
 
 
 /* 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)
 
 
 libc_hidden_proto(authnone_create)
 libc_hidden_proto(authnone_create)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_callhdr)
 libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(pmap_getport)
 libc_hidden_proto(pmap_getport)
 libc_hidden_proto(_seterr_reply)
 libc_hidden_proto(_seterr_reply)
@@ -81,8 +81,8 @@ libc_hidden_proto(bindresvport)
 libc_hidden_proto(recvfrom)
 libc_hidden_proto(recvfrom)
 libc_hidden_proto(sendto)
 libc_hidden_proto(sendto)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(recvmsg)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 libc_hidden_proto(__rpc_thread_createerr)
 libc_hidden_proto(__rpc_thread_createerr)
 
 
 extern u_long _create_xid (void) attribute_hidden;
 extern u_long _create_xid (void) attribute_hidden;

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

@@ -60,22 +60,22 @@
 #include <rpc/pmap_clnt.h>
 #include <rpc/pmap_clnt.h>
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
 # include <wchar.h>
 # include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 /* 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)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdr_callhdr)
 libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xdr_opaque_auth)
 libc_hidden_proto(xdr_opaque_auth)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_void)
 libc_hidden_proto(xdr_void)
 libc_hidden_proto(getegid)
 libc_hidden_proto(getegid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(geteuid)
@@ -84,8 +84,8 @@ libc_hidden_proto(setsockopt)
 libc_hidden_proto(connect)
 libc_hidden_proto(connect)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(sendmsg)
 libc_hidden_proto(sendmsg)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 libc_hidden_proto(__rpc_thread_createerr)
 libc_hidden_proto(__rpc_thread_createerr)
 
 
 extern u_long _create_xid (void) attribute_hidden;
 extern u_long _create_xid (void) attribute_hidden;

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

@@ -27,7 +27,7 @@
 
 
 libc_hidden_proto(lrand48_r)
 libc_hidden_proto(lrand48_r)
 libc_hidden_proto(srand48_r)
 libc_hidden_proto(srand48_r)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
 
 
 /* The RPC code is not threadsafe, but new code should be threadsafe. */
 /* The RPC code is not threadsafe, but new code should be threadsafe. */
 
 

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

@@ -50,10 +50,10 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";
 #include <netinet/in.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <arpa/inet.h>
 
 
-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) */
 
 
 /*
 /*

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

@@ -49,11 +49,11 @@
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* 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(fopen)
+/* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* 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) */
 
 
 /*
 /*
  * Internet version.
  * Internet version.

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

@@ -48,10 +48,10 @@
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
 #include <rpc/pmap_clnt.h>
 
 
-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)

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

@@ -60,14 +60,14 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
 #define MAX_BROADCAST_SIZE 1400
 #define MAX_BROADCAST_SIZE 1400
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
-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)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xdr_reference)
 libc_hidden_proto(xdr_reference)
 libc_hidden_proto(xdr_u_long)
 libc_hidden_proto(xdr_u_long)
 libc_hidden_proto(xdr_void)
 libc_hidden_proto(xdr_void)
@@ -79,7 +79,7 @@ libc_hidden_proto(clntudp_create)
 libc_hidden_proto(setsockopt)
 libc_hidden_proto(setsockopt)
 libc_hidden_proto(recvfrom)
 libc_hidden_proto(recvfrom)
 libc_hidden_proto(sendto)
 libc_hidden_proto(sendto)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(fprintf) */
 
 
 
 

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

@@ -95,16 +95,16 @@ static char sccsid[] = "@(#)rcmd.c	8.3 (Berkeley) 3/26/94";
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
 /* 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) */
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
-libc_hidden_proto(lstat)
+/* libc_hidden_proto(lstat) */
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
 libc_hidden_proto(sysconf)
 libc_hidden_proto(sysconf)
 libc_hidden_proto(getline)
 libc_hidden_proto(getline)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(geteuid)
@@ -121,13 +121,13 @@ libc_hidden_proto(bind)
 libc_hidden_proto(connect)
 libc_hidden_proto(connect)
 libc_hidden_proto(sigblock)
 libc_hidden_proto(sigblock)
 libc_hidden_proto(snprintf)
 libc_hidden_proto(snprintf)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
 libc_hidden_proto(accept)
 libc_hidden_proto(accept)
 libc_hidden_proto(listen)
 libc_hidden_proto(listen)
 libc_hidden_proto(sigsetmask)
 libc_hidden_proto(sigsetmask)
 libc_hidden_proto(getc_unlocked)
 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(fprintf) */
 /* libc_hidden_proto(fprintf) */
 libc_hidden_proto(__h_errno_location)
 libc_hidden_proto(__h_errno_location)

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

@@ -45,12 +45,12 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* 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) */
 libc_hidden_proto(snprintf)
 libc_hidden_proto(snprintf)
 libc_hidden_proto(getsockname)
 libc_hidden_proto(getsockname)
 libc_hidden_proto(getnameinfo)
 libc_hidden_proto(getnameinfo)

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

@@ -146,7 +146,7 @@ static const struct xdr_discrim reply_dscrm[3] =
 /*
 /*
  * XDR a reply message
  * XDR a reply message
  */
  */
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 bool_t
 bool_t
 xdr_replymsg (XDR *xdrs, struct rpc_msg *rmsg)
 xdr_replymsg (XDR *xdrs, struct rpc_msg *rmsg)
 {
 {

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

@@ -58,13 +58,13 @@ static char sccsid[] = "@(#)rtime.c	2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S
 #include <errno.h>
 #include <errno.h>
 #include <netinet/in.h>
 #include <netinet/in.h>
 
 
-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)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
 libc_hidden_proto(rtime)
 libc_hidden_proto(rtime)
 
 
 #define NYEARS	(u_long)(1970 - 1900)
 #define NYEARS	(u_long)(1970 - 1900)

+ 4 - 4
libc/inet/rpc/ruserpass.c

@@ -49,9 +49,9 @@
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
 /* Experimentally off - libc_hidden_proto(strncasecmp) */
 /* Experimentally off - libc_hidden_proto(strncasecmp) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
-libc_hidden_proto(printf)
+/* libc_hidden_proto(printf) */
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
 libc_hidden_proto(__fsetlocking)
 libc_hidden_proto(__fsetlocking)
 libc_hidden_proto(getgid)
 libc_hidden_proto(getgid)
 libc_hidden_proto(getuid)
 libc_hidden_proto(getuid)
@@ -59,7 +59,7 @@ libc_hidden_proto(getegid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(geteuid)
 libc_hidden_proto(gethostname)
 libc_hidden_proto(gethostname)
 libc_hidden_proto(fileno)
 libc_hidden_proto(fileno)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(fclose) */
 libc_hidden_proto(getc_unlocked)
 libc_hidden_proto(getc_unlocked)
 libc_hidden_proto(__fgetc_unlocked)
 libc_hidden_proto(__fgetc_unlocked)

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

@@ -47,8 +47,8 @@
 #include <rpc/svc.h>
 #include <rpc/svc.h>
 
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(printf)
+/* libc_hidden_proto(printf) */
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_authunix_parms)
 libc_hidden_proto(xdr_authunix_parms)
 
 
 /*
 /*

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

@@ -45,9 +45,9 @@ static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";
 #include "rpc_private.h"
 #include "rpc_private.h"
 #include <rpc/svc.h>
 #include <rpc/svc.h>
 
 
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 libc_hidden_proto(xdr_callmsg)
 libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 
 
 /*
 /*
  * This is the "network" that we will be moving data over
  * This is the "network" that we will be moving data over

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

@@ -39,9 +39,9 @@
 #include <sys/poll.h>
 #include <sys/poll.h>
 #include <rpc/rpc.h>
 #include <rpc/rpc.h>
 
 
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
 libc_hidden_proto(svc_getreq_poll)
 libc_hidden_proto(svc_getreq_poll)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
 /* used by svc_[max_]pollfd */
 /* used by svc_[max_]pollfd */
 libc_hidden_proto(__rpc_thread_svc_pollfd)
 libc_hidden_proto(__rpc_thread_svc_pollfd)
 libc_hidden_proto(__rpc_thread_svc_max_pollfd)
 libc_hidden_proto(__rpc_thread_svc_max_pollfd)

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

@@ -58,8 +58,8 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
 /* Experimentally off - libc_hidden_proto(strdup) */
 /* Experimentally off - libc_hidden_proto(strdup) */
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 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)

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

@@ -61,26 +61,26 @@ 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) */
 libc_hidden_proto(xdrrec_create)
 libc_hidden_proto(xdrrec_create)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdrrec_eof)
 libc_hidden_proto(xdrrec_eof)
 libc_hidden_proto(xdr_callmsg)
 libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xprt_register)
 libc_hidden_proto(xprt_register)
 libc_hidden_proto(xprt_unregister)
 libc_hidden_proto(xprt_unregister)
 libc_hidden_proto(getsockname)
 libc_hidden_proto(getsockname)
 libc_hidden_proto(bind)
 libc_hidden_proto(bind)
 libc_hidden_proto(bindresvport)
 libc_hidden_proto(bindresvport)
-libc_hidden_proto(poll)
+/* 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(fclose) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(abort) */
 /* libc_hidden_proto(abort) */
 
 

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

@@ -57,20 +57,20 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
 # include <wchar.h>
 # include <wchar.h>
 # include <libio/iolibio.h>
 # include <libio/iolibio.h>
 # define fputs(s, f) _IO_fputs (s, f)
 # define fputs(s, f) _IO_fputs (s, f)
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 /* Experimentally off - libc_hidden_proto(memcmp) */
 /* Experimentally off - libc_hidden_proto(memcmp) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* 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) */
 libc_hidden_proto(xdr_callmsg)
 libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(getsockname)
 libc_hidden_proto(getsockname)
 libc_hidden_proto(setsockopt)
 libc_hidden_proto(setsockopt)
 libc_hidden_proto(bind)
 libc_hidden_proto(bind)
@@ -79,7 +79,7 @@ libc_hidden_proto(recvfrom)
 libc_hidden_proto(sendto)
 libc_hidden_proto(sendto)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(sendmsg)
 libc_hidden_proto(sendmsg)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(fprintf) */
 
 
 #define rpc_buffer(xprt) ((xprt)->xp_p1)
 #define rpc_buffer(xprt) ((xprt)->xp_p1)

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

@@ -58,16 +58,16 @@
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* 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)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_endofrecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdrrec_skiprecord)
 libc_hidden_proto(xdrrec_eof)
 libc_hidden_proto(xdrrec_eof)
 libc_hidden_proto(xdr_callmsg)
 libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
 libc_hidden_proto(xprt_register)
 libc_hidden_proto(xprt_register)
 libc_hidden_proto(xprt_unregister)
 libc_hidden_proto(xprt_unregister)
 libc_hidden_proto(getegid)
 libc_hidden_proto(getegid)
@@ -77,10 +77,10 @@ libc_hidden_proto(setsockopt)
 libc_hidden_proto(bind)
 libc_hidden_proto(bind)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(recvmsg)
 libc_hidden_proto(sendmsg)
 libc_hidden_proto(sendmsg)
-libc_hidden_proto(poll)
+/* 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) */
 
 
 /*
 /*

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

@@ -53,11 +53,11 @@ static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
 
 
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
 # include <wchar.h>
 # include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 
 
 /*
 /*
  * constants specific to the xdr "protocol"
  * constants specific to the xdr "protocol"

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

@@ -51,11 +51,11 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
 
 
 #ifdef USE_IN_LIBIO
 #ifdef USE_IN_LIBIO
 # include <wchar.h>
 # include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 libc_hidden_proto(xdr_u_int)
 libc_hidden_proto(xdr_u_int)
 
 
 #define LASTUNSIGNED	((u_int)0-1)
 #define LASTUNSIGNED	((u_int)0-1)

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

@@ -74,7 +74,7 @@ static const struct xdr_ops xdrmem_ops =
  * The procedure xdrmem_create initializes a stream descriptor for a
  * The procedure xdrmem_create initializes a stream descriptor for a
  * memory buffer.
  * memory buffer.
  */
  */
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
 void
 void
 xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op)
 xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op)
 {
 {

+ 3 - 3
libc/inet/rpc/xdr_rec.c

@@ -57,12 +57,12 @@
 # include <wchar.h>
 # include <wchar.h>
 # include <libio/iolibio.h>
 # include <libio/iolibio.h>
 # define fputs(s, f) _IO_fputs (s, f)
 # define fputs(s, f) _IO_fputs (s, f)
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
 
 
 static bool_t xdrrec_getlong (XDR *, long *);
 static bool_t xdrrec_getlong (XDR *, long *);
 static bool_t xdrrec_putlong (XDR *, const long *);
 static bool_t xdrrec_putlong (XDR *, const long *);

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

@@ -52,12 +52,12 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
 # include <wchar.h>
 # include <wchar.h>
 # include <libio/iolibio.h>
 # include <libio/iolibio.h>
 # define fputs(s, f) _IO_fputs (s, f)
 # define fputs(s, f) _IO_fputs (s, f)
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
 #endif
 #endif
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
 libc_hidden_proto(xdr_bool)
 libc_hidden_proto(xdr_bool)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
 
 
 #define LASTUNSIGNED	((u_int)0-1)
 #define LASTUNSIGNED	((u_int)0-1)
 
 

+ 1 - 1
libc/inet/socketcalls.c

@@ -358,7 +358,7 @@ int shutdown(int sockfd, int how)
 #endif
 #endif
 
 
 #ifdef L_socket
 #ifdef L_socket
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
 #ifdef __NR_socket
 #ifdef __NR_socket
 _syscall3(int, socket, int, family, int, type, int, protocol)
 _syscall3(int, socket, int, family, int, type, int, protocol)
 #elif defined(__NR_socketcall)
 #elif defined(__NR_socketcall)

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

@@ -281,7 +281,7 @@ IS_FUNC_BODY(xdigit);
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__ctype_tolower) */
 /* libc_hidden_proto(__ctype_tolower) */
 #endif
 #endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
 
 
 int tolower(int c)
 int tolower(int c)
@@ -328,7 +328,7 @@ weak_alias (tolower_l, __tolower_l)
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 libc_hidden_proto(__ctype_toupper)
 libc_hidden_proto(__ctype_toupper)
 #endif
 #endif
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(toupper) */
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
 
 
 int toupper(int c)
 int toupper(int c)

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

@@ -15,11 +15,11 @@
 #include "dirstream.h"
 #include "dirstream.h"
 
 
 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) */
 
 
 /* opendir just makes an open() call - it return NULL if it fails
 /* opendir just makes an open() call - it return NULL if it fails
  * (open sets errno), otherwise it returns a DIR * pointer.
  * (open sets errno), otherwise it returns a DIR * pointer.

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

@@ -9,7 +9,7 @@
 #include <unistd.h>
 #include <unistd.h>
 #include "dirstream.h"
 #include "dirstream.h"
 
 
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
 
 
 /* rewinddir() just does an lseek(fd,0,0) - see close for comments */
 /* rewinddir() just does an lseek(fd,0,0) - see close for comments */
 void rewinddir(DIR * dir)
 void rewinddir(DIR * dir)

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

@@ -9,7 +9,7 @@
 #include <unistd.h>
 #include <unistd.h>
 #include "dirstream.h"
 #include "dirstream.h"
 
 
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
 
 
 void seekdir(DIR * dir, long int offset)
 void seekdir(DIR * dir, long int offset)
 {
 {

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

@@ -27,10 +27,10 @@ libc_hidden_proto(verr)
 libc_hidden_proto(verrx)
 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

@@ -31,7 +31,7 @@
 /* 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)
 libc_hidden_proto(fputc)
 libc_hidden_proto(fputc)
 libc_hidden_proto(__fputc_unlocked)
 libc_hidden_proto(__fputc_unlocked)

+ 2 - 2
libc/misc/file/lockf.c

@@ -27,8 +27,8 @@
 libc_hidden_proto(lockf)
 libc_hidden_proto(lockf)
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(fcntl) */
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
 
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */
 /* lockf is a simplified interface to fcntl's locking facilities.  */
 
 

+ 2 - 2
libc/misc/file/lockf64.c

@@ -34,11 +34,11 @@
 #define F_SETLK F_SETLK64
 #define F_SETLK F_SETLK64
 libc_hidden_proto(fcntl64)
 libc_hidden_proto(fcntl64)
 #else
 #else
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(fcntl) */
 #endif
 #endif
 
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
 
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */
 /* lockf is a simplified interface to fcntl's locking facilities.  */
 
 

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

@@ -71,9 +71,9 @@
 /* libc_hidden_proto(__ctype_b) */
 /* libc_hidden_proto(__ctype_b) */
 /* libc_hidden_proto(__ctype_tolower) */
 /* libc_hidden_proto(__ctype_tolower) */
 #endif
 #endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
 libc_hidden_proto(fnmatch)
 libc_hidden_proto(fnmatch)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
 #endif
 #endif
 
 
 /* For platform which support the ISO C amendement 1 functionality we
 /* For platform which support the ISO C amendement 1 functionality we

+ 1 - 1
libc/misc/fnmatch/fnmatch_old.c

@@ -25,7 +25,7 @@ Cambridge, MA 02139, USA.  */
 
 
 libc_hidden_proto(fnmatch)
 libc_hidden_proto(fnmatch)
 
 
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
 /* Comment out all this code if we are using the GNU C Library, and are not
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C
    actually compiling the library itself.  This code is part of the GNU C
    Library, but also included in many other GNU distributions.  Compiling
    Library, but also included in many other GNU distributions.  Compiling

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

@@ -102,8 +102,8 @@ libc_hidden_proto(stat64)
 #endif
 #endif
 libc_hidden_proto(closedir)
 libc_hidden_proto(closedir)
 /* Experimentally off - libc_hidden_proto(stpcpy) */
 /* Experimentally off - libc_hidden_proto(stpcpy) */
-libc_hidden_proto(lstat)
+/* libc_hidden_proto(lstat) */
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 
 
 #if ! _LIBC && !HAVE_DECL_STPCPY && !defined stpcpy
 #if ! _LIBC && !HAVE_DECL_STPCPY && !defined stpcpy
 char *stpcpy ();
 char *stpcpy ();

+ 1 - 1
libc/misc/glob/glob-susv3.c

@@ -58,7 +58,7 @@ libc_hidden_proto(stat64)
 # define struct_stat struct stat64
 # define struct_stat struct stat64
 #else
 #else
 libc_hidden_proto(readdir_r)
 libc_hidden_proto(readdir_r)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 # define struct_stat struct stat
 # define struct_stat struct stat
 #endif
 #endif
 
 

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

@@ -74,7 +74,7 @@ libc_hidden_proto(readdir64)
 #endif
 #endif
 #define struct_stat64          struct stat
 #define struct_stat64          struct stat
 #define __stat64(fname, buf)   stat (fname, buf)
 #define __stat64(fname, buf)   stat (fname, buf)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 #endif
 #endif
 
 
 
 

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

@@ -38,7 +38,7 @@ libc_hidden_proto(getgid)
 libc_hidden_proto(getuid)
 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;

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

@@ -47,17 +47,17 @@
 
 
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
 libc_hidden_proto(mkdir)
 libc_hidden_proto(mkdir)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
 #ifdef __UCLIBC_HAS_LFS__
 #ifdef __UCLIBC_HAS_LFS__
 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) */
 
 
 /* Return nonzero if DIR is an existent directory.  */
 /* Return nonzero if DIR is an existent directory.  */
 static int direxists (const char *dir)
 static int direxists (const char *dir)

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

@@ -66,7 +66,7 @@
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strchr) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__C_ctype_toupper) */
 /* libc_hidden_proto(__C_ctype_toupper) */
 #endif
 #endif

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

@@ -19,10 +19,10 @@ libc_hidden_proto(endmntent)
 /* Experimentally off - libc_hidden_proto(strstr) */
 /* Experimentally off - libc_hidden_proto(strstr) */
 /* Experimentally off - libc_hidden_proto(strtok_r) */
 /* Experimentally off - libc_hidden_proto(strtok_r) */
 libc_hidden_proto(atoi)
 libc_hidden_proto(atoi)
-libc_hidden_proto(fopen)
+/* 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) */
 
 

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

@@ -75,8 +75,8 @@ libc_hidden_proto(__ctype_toupper)
 #else
 #else
 libc_hidden_proto(isascii)
 libc_hidden_proto(isascii)
 #endif
 #endif
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(toupper) */
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
 /* Experimentally off - libc_hidden_proto(memcmp) */
 /* Experimentally off - libc_hidden_proto(memcmp) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memmove) */
 /* Experimentally off - libc_hidden_proto(memmove) */
@@ -85,7 +85,7 @@ libc_hidden_proto(tolower)
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* 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

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

@@ -43,7 +43,7 @@
 /* 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(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) */

+ 3 - 3
libc/misc/statfs/fstatvfs.c

@@ -33,7 +33,7 @@
 libc_hidden_proto(setmntent)
 libc_hidden_proto(setmntent)
 libc_hidden_proto(getmntent_r)
 libc_hidden_proto(getmntent_r)
 libc_hidden_proto(endmntent)
 libc_hidden_proto(endmntent)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 
 
 #ifndef __USE_FILE_OFFSET64
 #ifndef __USE_FILE_OFFSET64
 extern int fstatfs (int __fildes, struct statfs *__buf)
 extern int fstatfs (int __fildes, struct statfs *__buf)
@@ -49,8 +49,8 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
 
 
 extern __typeof(fstatfs) __libc_fstatfs;
 extern __typeof(fstatfs) __libc_fstatfs;
 libc_hidden_proto(__libc_fstatfs)
 libc_hidden_proto(__libc_fstatfs)
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 libc_hidden_proto(fstatvfs)
 libc_hidden_proto(fstatvfs)
 
 
 int fstatvfs (int fd, struct statvfs *buf)
 int fstatvfs (int fd, struct statvfs *buf)

+ 1 - 1
libc/misc/statfs/fstatvfs64.c

@@ -44,7 +44,7 @@ libc_hidden_proto(fstatvfs)
 libc_hidden_proto(fstatfs64)
 libc_hidden_proto(fstatfs64)
 #endif
 #endif
 libc_hidden_proto(fstat64)
 libc_hidden_proto(fstat64)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 
 
 int fstatvfs64 (int fd, struct statvfs64 *buf)
 int fstatvfs64 (int fd, struct statvfs64 *buf)
 {
 {

+ 1 - 1
libc/misc/statfs/statvfs.c

@@ -36,7 +36,7 @@ libc_hidden_proto(endmntent)
 
 
 extern __typeof(statfs) __libc_statfs;
 extern __typeof(statfs) __libc_statfs;
 libc_hidden_proto(__libc_statfs)
 libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 
 
 libc_hidden_proto(statvfs)
 libc_hidden_proto(statvfs)
 int statvfs (const char *file, struct statvfs *buf)
 int statvfs (const char *file, struct statvfs *buf)

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

@@ -90,17 +90,17 @@ libc_hidden_proto(closelog)
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
-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)
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
 libc_hidden_proto(sigemptyset)
 libc_hidden_proto(sigemptyset)
 libc_hidden_proto(connect)
 libc_hidden_proto(connect)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
 libc_hidden_proto(vsnprintf)
 libc_hidden_proto(vsnprintf)
 /* Experimentally off - libc_hidden_proto(time) */
 /* Experimentally off - libc_hidden_proto(time) */
 
 

+ 1 - 1
libc/misc/sysvipc/ftok.c

@@ -20,7 +20,7 @@
 #include <sys/ipc.h>
 #include <sys/ipc.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 
 
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
 
 
 key_t ftok (const char *pathname, int proj_id)
 key_t ftok (const char *pathname, int proj_id)
 {
 {

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

@@ -19,7 +19,7 @@
 #include <sys/timeb.h>
 #include <sys/timeb.h>
 #include <sys/time.h>
 #include <sys/time.h>
 
 
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
 
 
 int ftime(struct timeb *timebuf)
 int ftime(struct timeb *timebuf)
 {
 {

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

@@ -167,12 +167,12 @@ libc_hidden_proto(localtime_r)
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* 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) */
 /* Experimentally off - libc_hidden_proto(strncasecmp) */
 /* Experimentally off - libc_hidden_proto(strncasecmp) */
 libc_hidden_proto(strtol)
 libc_hidden_proto(strtol)
 libc_hidden_proto(strtoul)
 libc_hidden_proto(strtoul)

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

@@ -46,7 +46,7 @@ libc_hidden_proto(rewind)
 libc_hidden_proto(fgets_unlocked)
 libc_hidden_proto(fgets_unlocked)
 libc_hidden_proto(getc_unlocked)
 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__

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

@@ -23,12 +23,12 @@
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strdup) */
 /* Experimentally off - libc_hidden_proto(strdup) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
-libc_hidden_proto(read)
+/* 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>
 __UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);
 __UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);

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

@@ -19,11 +19,11 @@
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 libc_hidden_proto(updwtmp)
 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) */
 
 
 #if 0
 #if 0
 /* This is enabled in uClibc/libutil/logwtmp.c */
 /* This is enabled in uClibc/libutil/logwtmp.c */

+ 2 - 2
libc/misc/wctype/_wctype.c

@@ -38,8 +38,8 @@
 #include <bits/uClibc_uwchar.h>
 #include <bits/uClibc_uwchar.h>
 
 
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(toupper) */
 libc_hidden_proto(towlower)
 libc_hidden_proto(towlower)
 libc_hidden_proto(towupper)
 libc_hidden_proto(towupper)
 libc_hidden_proto(towctrans)
 libc_hidden_proto(towctrans)

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

@@ -57,12 +57,12 @@ libc_hidden_proto(atoi)
 libc_hidden_proto(fnmatch)
 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)

+ 4 - 4
libc/pwd_grp/lckpwdf.c

@@ -29,12 +29,12 @@
 #include <shadow.h>
 #include <shadow.h>
 
 
 /* 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) */
 libc_hidden_proto(sigaddset)
 libc_hidden_proto(sigaddset)
 libc_hidden_proto(sigemptyset)
 libc_hidden_proto(sigemptyset)
 libc_hidden_proto(alarm)
 libc_hidden_proto(alarm)

+ 2 - 2
libc/pwd_grp/pwd_grp.c

@@ -44,8 +44,8 @@ libc_hidden_proto(strtoul)
 libc_hidden_proto(rewind)
 libc_hidden_proto(rewind)
 libc_hidden_proto(fgets_unlocked)
 libc_hidden_proto(fgets_unlocked)
 libc_hidden_proto(__fputc_unlocked)
 libc_hidden_proto(__fputc_unlocked)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(fprintf) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 #ifdef __UCLIBC_HAS_XLOCALE__

+ 1 - 1
libc/signal/raise.c

@@ -8,7 +8,7 @@
 #include <sys/types.h>
 #include <sys/types.h>
 
 
 
 
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
 libc_hidden_proto(kill)
 libc_hidden_proto(kill)
 
 
 int __raise (int signo)  attribute_hidden;
 int __raise (int signo)  attribute_hidden;

+ 1 - 1
libc/signal/sigaction.c

@@ -109,7 +109,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
 #endif
 #endif
 
 
 #ifndef LIBC_SIGACTION
 #ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
 weak_alias(__libc_sigaction,sigaction)
 weak_alias(__libc_sigaction,sigaction)
 libc_hidden_weak(sigaction)
 libc_hidden_weak(sigaction)
 #endif
 #endif

+ 1 - 1
libc/signal/sigblock.c

@@ -20,7 +20,7 @@
 #include <errno.h>
 #include <errno.h>
 #include <signal.h>
 #include <signal.h>
 
 
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
 
 
 #include "sigset-cvt-mask.h"
 #include "sigset-cvt-mask.h"
 
 

+ 1 - 1
libc/signal/sighold.c

@@ -22,7 +22,7 @@
 #include <stddef.h>
 #include <stddef.h>
 #include <signal.h>
 #include <signal.h>
 
 
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
 libc_hidden_proto(sigaddset)
 libc_hidden_proto(sigaddset)
 
 
 int sighold (int sig)
 int sighold (int sig)

+ 1 - 1
libc/signal/sigignore.c

@@ -24,7 +24,7 @@
 #include <signal.h>
 #include <signal.h>
 #include <string.h>	/* For the real memset prototype.  */
 #include <string.h>	/* For the real memset prototype.  */
 
 
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
 
 
 int sigignore (int sig)
 int sigignore (int sig)
 {
 {

+ 1 - 1
libc/signal/sigintr.c

@@ -20,7 +20,7 @@
 #include <signal.h>
 #include <signal.h>
 #include <errno.h>
 #include <errno.h>
 
 
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
 
 
 /* If INTERRUPT is nonzero, make signal SIG interrupt system calls
 /* If INTERRUPT is nonzero, make signal SIG interrupt system calls
    (causing them to fail with EINTR); if INTERRUPT is zero, make system
    (causing them to fail with EINTR); if INTERRUPT is zero, make system

+ 1 - 1
libc/signal/sigjmp.c

@@ -21,7 +21,7 @@
 #include <signal.h>
 #include <signal.h>
 #include <libc-internal.h>
 #include <libc-internal.h>
 
 
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
 
 
 /* This function is called by the `sigsetjmp' macro
 /* This function is called by the `sigsetjmp' macro
    before doing a `__setjmp' on ENV[0].__jmpbuf.
    before doing a `__setjmp' on ENV[0].__jmpbuf.

+ 1 - 1
libc/signal/signal.c

@@ -22,7 +22,7 @@
 #include <signal.h>
 #include <signal.h>
 #include <string.h>	/* For the real memset prototype.  */
 #include <string.h>	/* For the real memset prototype.  */
 
 
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
 
 
 sigset_t _sigintr attribute_hidden;		/* Set by siginterrupt.  */
 sigset_t _sigintr attribute_hidden;		/* Set by siginterrupt.  */
 
 

+ 1 - 1
libc/signal/sigpause.c

@@ -24,7 +24,7 @@
 #include <signal.h>
 #include <signal.h>
 #include <stddef.h>		/* For NULL.  */
 #include <stddef.h>		/* For NULL.  */
 
 
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
 libc_hidden_proto(sigdelset)
 libc_hidden_proto(sigdelset)
 libc_hidden_proto(sigsuspend)
 libc_hidden_proto(sigsuspend)
 
 

+ 1 - 1
libc/signal/sigrelse.c

@@ -22,7 +22,7 @@
 #include <stddef.h>
 #include <stddef.h>
 #include <signal.h>
 #include <signal.h>
 
 
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
 libc_hidden_proto(sigdelset)
 libc_hidden_proto(sigdelset)
 
 
 int sigrelse (int sig)
 int sigrelse (int sig)

Some files were not shown because too many files changed in this diff