OSDN Git Service

Last portion of libc_hidden_proto removal.
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 20 Nov 2008 22:11:44 +0000 (22:11 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 20 Nov 2008 22:11:44 +0000 (22:11 -0000)
Appears to build fine (several .configs tried)

434 files changed:
include/arpa/inet.h
include/arpa/nameser.h
include/assert.h
include/ctype.h
include/dirent.h
include/err.h
include/fcntl.h
include/fnmatch.h
include/glob.h
include/grp.h
include/langinfo.h
include/libc-internal.h
include/locale.h
include/malloc.h
include/mntent.h
include/net/if.h
include/netdb.h
include/netinet/ether.h
include/netinet/in.h
include/pwd.h
include/resolv.h
include/rpc/auth.h
include/rpc/auth_des.h
include/rpc/auth_unix.h
include/rpc/clnt.h
include/rpc/netdb.h
include/rpc/pmap_clnt.h
include/rpc/pmap_prot.h
include/rpc/pmap_rmt.h
include/rpc/rpc.h
include/rpc/rpc_msg.h
include/rpc/svc.h
include/rpc/svc_auth.h
include/rpc/xdr.h
include/search.h
include/shadow.h
include/signal.h
include/stdio.h
include/stdio_ext.h
include/stdlib.h
include/string.h
include/sys/mman.h
include/sys/poll.h
include/sys/resource.h
include/sys/select.h
include/sys/socket.h
include/sys/stat.h
include/sys/statfs.h
include/sys/statvfs.h
include/sys/syslog.h
include/sys/time.h
include/sys/times.h
include/sys/timex.h
include/sys/utsname.h
include/sys/wait.h
include/termios.h
include/time.h
include/ttyent.h
include/unistd.h
include/utime.h
include/utmp.h
include/wchar.h
include/wctype.h
include/wordexp.h
libc/inet/addr.c
libc/inet/ether_addr.c
libc/inet/getaddrinfo.c
libc/inet/getnetbyad.c
libc/inet/getnetbynm.c
libc/inet/getnetent.c
libc/inet/getproto.c
libc/inet/getservice.c
libc/inet/herror.c
libc/inet/hostid.c
libc/inet/if_index.c
libc/inet/ifaddrs.c
libc/inet/in6_addr.c
libc/inet/inet_net.c
libc/inet/ntop.c
libc/inet/resolv.c
libc/inet/rpc/auth_none.c
libc/inet/rpc/auth_unix.c
libc/inet/rpc/authunix_prot.c
libc/inet/rpc/bindresvport.c
libc/inet/rpc/clnt_generic.c
libc/inet/rpc/clnt_perror.c
libc/inet/rpc/clnt_raw.c
libc/inet/rpc/clnt_simple.c
libc/inet/rpc/clnt_tcp.c
libc/inet/rpc/clnt_udp.c
libc/inet/rpc/clnt_unix.c
libc/inet/rpc/create_xid.c
libc/inet/rpc/getrpcent.c
libc/inet/rpc/getrpcport.c
libc/inet/rpc/pm_getmaps.c
libc/inet/rpc/pm_getport.c
libc/inet/rpc/pmap_clnt.c
libc/inet/rpc/pmap_prot.c
libc/inet/rpc/pmap_prot2.c
libc/inet/rpc/pmap_rmt.c
libc/inet/rpc/rcmd.c
libc/inet/rpc/rexec.c
libc/inet/rpc/rpc_cmsg.c
libc/inet/rpc/rpc_dtablesize.c
libc/inet/rpc/rpc_private.h
libc/inet/rpc/rpc_prot.c
libc/inet/rpc/rpc_thread.c
libc/inet/rpc/rtime.c
libc/inet/rpc/ruserpass.c
libc/inet/rpc/svc.c
libc/inet/rpc/svc_auth.c
libc/inet/rpc/svc_authux.c
libc/inet/rpc/svc_raw.c
libc/inet/rpc/svc_run.c
libc/inet/rpc/svc_simple.c
libc/inet/rpc/svc_tcp.c
libc/inet/rpc/svc_udp.c
libc/inet/rpc/svc_unix.c
libc/inet/rpc/xdr.c
libc/inet/rpc/xdr_array.c
libc/inet/rpc/xdr_rec.c
libc/inet/rpc/xdr_reference.c
libc/inet/rpc/xdr_stdio.c
libc/inet/socketcalls.c
libc/misc/assert/__assert.c
libc/misc/ctype/ctype.c
libc/misc/dirent/closedir.c
libc/misc/dirent/dirfd.c
libc/misc/dirent/opendir.c
libc/misc/dirent/readdir.c
libc/misc/dirent/readdir64.c
libc/misc/dirent/readdir64_r.c
libc/misc/dirent/readdir_r.c
libc/misc/dirent/scandir.c
libc/misc/dirent/scandir64.c
libc/misc/error/err.c
libc/misc/error/error.c
libc/misc/file/lockf.c
libc/misc/file/lockf64.c
libc/misc/fnmatch/fnmatch.c
libc/misc/fnmatch/fnmatch_old.c
libc/misc/ftw/ftw.c
libc/misc/glob/glob-susv3.c
libc/misc/glob/glob.c
libc/misc/internals/__errno_location.c
libc/misc/internals/__h_errno_location.c
libc/misc/internals/__uClibc_main.c
libc/misc/internals/errno.c
libc/misc/internals/tempname.c
libc/misc/locale/locale.c
libc/misc/mntent/mntent.c
libc/misc/regex/regcomp.c
libc/misc/regex/regex.c
libc/misc/regex/regex_internal.h
libc/misc/regex/regex_old.c
libc/misc/search/_hsearch_r.c
libc/misc/search/_lsearch.c
libc/misc/search/_tsearch.c
libc/misc/search/hsearch.c
libc/misc/statfs/fstatfs64.c
libc/misc/statfs/fstatvfs.c
libc/misc/statfs/fstatvfs64.c
libc/misc/statfs/statfs64.c
libc/misc/statfs/statvfs.c
libc/misc/statfs/statvfs64.c
libc/misc/syslog/syslog.c
libc/misc/sysvipc/shm.c
libc/misc/time/adjtime.c
libc/misc/time/time.c
libc/misc/ttyent/getttyent.c
libc/misc/utmp/utent.c
libc/misc/utmp/wtent.c
libc/misc/wchar/wchar.c
libc/misc/wctype/_wctype.c
libc/misc/wordexp/wordexp.c
libc/pwd_grp/lckpwdf.c
libc/pwd_grp/pwd_grp.c
libc/signal/killpg.c
libc/signal/raise.c
libc/signal/sigaddset.c
libc/signal/sigblock.c
libc/signal/sigdelset.c
libc/signal/sigempty.c
libc/signal/sigfillset.c
libc/signal/siggetmask.c
libc/signal/sighold.c
libc/signal/signal.c
libc/signal/sigpause.c
libc/signal/sigrelse.c
libc/signal/sigsetmask.c
libc/signal/sigwait.c
libc/stdio/__fsetlocking.c
libc/stdio/_cs_funcs.c
libc/stdio/_flushlbf.c
libc/stdio/_fopen.c
libc/stdio/_scanf.c
libc/stdio/_stdio.c
libc/stdio/_trans2w.c
libc/stdio/_vfprintf.c
libc/stdio/_wfwrite.c
libc/stdio/asprintf.c
libc/stdio/dprintf.c
libc/stdio/fclose.c
libc/stdio/fdopen.c
libc/stdio/fflush.c
libc/stdio/fgetc.c
libc/stdio/fgets.c
libc/stdio/fgetwc.c
libc/stdio/fgetws.c
libc/stdio/fileno.c
libc/stdio/fmemopen.c
libc/stdio/fopencookie.c
libc/stdio/fputc.c
libc/stdio/fputs.c
libc/stdio/fputwc.c
libc/stdio/fputws.c
libc/stdio/fread.c
libc/stdio/fseeko.c
libc/stdio/ftello.c
libc/stdio/fwprintf.c
libc/stdio/fwrite.c
libc/stdio/getchar.c
libc/stdio/getdelim.c
libc/stdio/getline.c
libc/stdio/gets.c
libc/stdio/getw.c
libc/stdio/getwchar.c
libc/stdio/old_vfprintf.c
libc/stdio/open_memstream.c
libc/stdio/perror.c
libc/stdio/popen.c
libc/stdio/putchar.c
libc/stdio/puts.c
libc/stdio/putw.c
libc/stdio/putwchar.c
libc/stdio/remove.c
libc/stdio/rewind.c
libc/stdio/setbuf.c
libc/stdio/setbuffer.c
libc/stdio/setlinebuf.c
libc/stdio/setvbuf.c
libc/stdio/snprintf.c
libc/stdio/sprintf.c
libc/stdio/swprintf.c
libc/stdio/tmpfile.c
libc/stdio/ungetc.c
libc/stdio/ungetwc.c
libc/stdio/vasprintf.c
libc/stdio/vdprintf.c
libc/stdio/vsnprintf.c
libc/stdio/vsprintf.c
libc/stdio/vswprintf.c
libc/stdio/vwprintf.c
libc/stdio/wprintf.c
libc/stdlib/__uc_malloc.c
libc/stdlib/_strtod.c
libc/stdlib/abort.c
libc/stdlib/arc4random.c
libc/stdlib/drand48.c
libc/stdlib/drand48_r.c
libc/stdlib/erand48.c
libc/stdlib/erand48_r.c
libc/stdlib/jrand48.c
libc/stdlib/jrand48_r.c
libc/stdlib/lrand48.c
libc/stdlib/lrand48_r.c
libc/stdlib/malloc-simple/alloc.c
libc/stdlib/malloc-standard/free.c
libc/stdlib/malloc-standard/mallinfo.c
libc/stdlib/malloc-standard/malloc.h
libc/stdlib/malloc-standard/realloc.c
libc/stdlib/malloc/free.c
libc/stdlib/malloc/malloc_debug.c
libc/stdlib/mrand48.c
libc/stdlib/mrand48_r.c
libc/stdlib/nrand48.c
libc/stdlib/nrand48_r.c
libc/stdlib/ptsname.c
libc/stdlib/rand.c
libc/stdlib/random.c
libc/stdlib/random_r.c
libc/stdlib/realpath.c
libc/stdlib/seed48.c
libc/stdlib/seed48_r.c
libc/stdlib/setenv.c
libc/stdlib/srand48.c
libc/stdlib/srand48_r.c
libc/stdlib/stdlib.c
libc/stdlib/system.c
libc/stdlib/unix_grantpt.c
libc/stdlib/valloc.c
libc/string/__glibc_strerror_r.c
libc/string/__xpg_strerror_r.c
libc/string/_collate.c
libc/string/strcasecmp.c
libc/string/strdup.c
libc/string/strerror.c
libc/string/strncasecmp.c
libc/string/strtok_r.c
libc/sysdeps/linux/arm/aeabi_assert.c
libc/sysdeps/linux/arm/aeabi_localeconv.c
libc/sysdeps/linux/arm/aeabi_mb_cur_max.c
libc/sysdeps/linux/arm/ioperm.c
libc/sysdeps/linux/arm/iopl.c
libc/sysdeps/linux/common/__rt_sigtimedwait.c
libc/sysdeps/linux/common/__syscall_fcntl.c
libc/sysdeps/linux/common/__syscall_fcntl64.c
libc/sysdeps/linux/common/adjtimex.c
libc/sysdeps/linux/common/alarm.c
libc/sysdeps/linux/common/bits/errno.h
libc/sysdeps/linux/common/bits/getopt.h
libc/sysdeps/linux/common/bits/socket.h
libc/sysdeps/linux/common/bits/uClibc_stdio.h
libc/sysdeps/linux/common/chdir.c
libc/sysdeps/linux/common/chmod.c
libc/sysdeps/linux/common/chown.c
libc/sysdeps/linux/common/clock_getres.c
libc/sysdeps/linux/common/clock_settime.c
libc/sysdeps/linux/common/cmsg_nxthdr.c
libc/sysdeps/linux/common/creat64.c
libc/sysdeps/linux/common/dup2.c
libc/sysdeps/linux/common/execve.c
libc/sysdeps/linux/common/fchdir.c
libc/sysdeps/linux/common/fork.c
libc/sysdeps/linux/common/fstat.c
libc/sysdeps/linux/common/fstat64.c
libc/sysdeps/linux/common/ftruncate.c
libc/sysdeps/linux/common/ftruncate64.c
libc/sysdeps/linux/common/getcwd.c
libc/sysdeps/linux/common/getdents64.c
libc/sysdeps/linux/common/getdirname.c
libc/sysdeps/linux/common/getdomainname.c
libc/sysdeps/linux/common/getdtablesize.c
libc/sysdeps/linux/common/getegid.c
libc/sysdeps/linux/common/geteuid.c
libc/sysdeps/linux/common/getgid.c
libc/sysdeps/linux/common/getgroups.c
libc/sysdeps/linux/common/gethostname.c
libc/sysdeps/linux/common/getpagesize.c
libc/sysdeps/linux/common/getpriority.c
libc/sysdeps/linux/common/getrlimit.c
libc/sysdeps/linux/common/getrlimit64.c
libc/sysdeps/linux/common/getsid.c
libc/sysdeps/linux/common/getuid.c
libc/sysdeps/linux/common/kill.c
libc/sysdeps/linux/common/llseek.c
libc/sysdeps/linux/common/lseek.c
libc/sysdeps/linux/common/lstat.c
libc/sysdeps/linux/common/lstat64.c
libc/sysdeps/linux/common/mkdir.c
libc/sysdeps/linux/common/mkfifo.c
libc/sysdeps/linux/common/mknod.c
libc/sysdeps/linux/common/mremap.c
libc/sysdeps/linux/common/munmap.c
libc/sysdeps/linux/common/nanosleep.c
libc/sysdeps/linux/common/nice.c
libc/sysdeps/linux/common/ntp_gettime.c
libc/sysdeps/linux/common/open64.c
libc/sysdeps/linux/common/pause.c
libc/sysdeps/linux/common/pipe.c
libc/sysdeps/linux/common/poll.c
libc/sysdeps/linux/common/ppoll.c
libc/sysdeps/linux/common/pread_write.c
libc/sysdeps/linux/common/pselect.c
libc/sysdeps/linux/common/readlink.c
libc/sysdeps/linux/common/rmdir.c
libc/sysdeps/linux/common/select.c
libc/sysdeps/linux/common/setegid.c
libc/sysdeps/linux/common/seteuid.c
libc/sysdeps/linux/common/setgroups.c
libc/sysdeps/linux/common/setitimer.c
libc/sysdeps/linux/common/setpgid.c
libc/sysdeps/linux/common/setpgrp.c
libc/sysdeps/linux/common/setpriority.c
libc/sysdeps/linux/common/setregid.c
libc/sysdeps/linux/common/setresgid.c
libc/sysdeps/linux/common/setresuid.c
libc/sysdeps/linux/common/setreuid.c
libc/sysdeps/linux/common/setrlimit.c
libc/sysdeps/linux/common/setrlimit64.c
libc/sysdeps/linux/common/setsid.c
libc/sysdeps/linux/common/settimeofday.c
libc/sysdeps/linux/common/sigqueue.c
libc/sysdeps/linux/common/sigsuspend.c
libc/sysdeps/linux/common/splice.c
libc/sysdeps/linux/common/ssp.c
libc/sysdeps/linux/common/stat.c
libc/sysdeps/linux/common/stat64.c
libc/sysdeps/linux/common/statfs.c
libc/sysdeps/linux/common/stime.c
libc/sysdeps/linux/common/times.c
libc/sysdeps/linux/common/truncate.c
libc/sysdeps/linux/common/truncate64.c
libc/sysdeps/linux/common/ulimit.c
libc/sysdeps/linux/common/uname.c
libc/sysdeps/linux/common/unlink.c
libc/sysdeps/linux/common/utime.c
libc/sysdeps/linux/common/utimes.c
libc/sysdeps/linux/common/vfork.c
libc/sysdeps/linux/common/vmsplice.c
libc/sysdeps/linux/common/wait.c
libc/sysdeps/linux/common/wait3.c
libc/sysdeps/linux/common/wait4.c
libc/sysdeps/linux/common/waitid.c
libc/sysdeps/linux/common/waitpid.c
libc/sysdeps/linux/cris/fork.c
libc/sysdeps/linux/e1/vfork.c
libc/sysdeps/linux/frv/fstat64.c
libc/sysdeps/linux/frv/lstat64.c
libc/sysdeps/linux/frv/stat64.c
libc/sysdeps/linux/powerpc/ioctl.c
libc/sysdeps/linux/powerpc/pread_write.c
libc/sysdeps/linux/sh/pipe.c
libc/sysdeps/linux/x86_64/sys/io.h
libc/sysdeps/linux/xtensa/pread_write.c
libc/termios/cfsetspeed.c
libc/termios/isatty.c
libc/termios/speed.c
libc/termios/tcgetattr.c
libc/termios/tcgetpgrp.c
libc/termios/tcgetsid.c
libc/termios/tcsetattr.c
libc/termios/ttyname.c
libc/unistd/daemon.c
libc/unistd/exec.c
libc/unistd/getlogin.c
libc/unistd/getopt-susv3.c
libc/unistd/getopt_long-simple.c
libc/unistd/getpass.c
libc/unistd/sleep.c
libc/unistd/sysconf.c
libc/unistd/ualarm.c
libc/unistd/usershell.c
libc/unistd/usleep.c

index 02233d4..8ecad55 100644 (file)
@@ -33,6 +33,7 @@ __BEGIN_DECLS
 /* Convert Internet host address from numbers-and-dots notation in CP
    into binary data in network byte order.  */
 extern in_addr_t inet_addr (__const char *__cp) __THROW;
+libc_hidden_proto(inet_addr)
 
 /* Return the local host address part of the Internet address in IN.  */
 extern in_addr_t inet_lnaof (struct in_addr __in) __THROW;
@@ -41,25 +42,31 @@ extern in_addr_t inet_lnaof (struct in_addr __in) __THROW;
    network number NET with the local address HOST.  */
 extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host)
      __THROW;
+libc_hidden_proto(inet_makeaddr)
 
 /* Return network number part of the Internet address IN.  */
 extern in_addr_t inet_netof (struct in_addr __in) __THROW;
+libc_hidden_proto(inet_netof)
 
 /* Extract the network number in network byte order from the address
    in numbers-and-dots natation starting at CP.  */
 extern in_addr_t inet_network (__const char *__cp) __THROW;
+libc_hidden_proto(inet_network)
 
 /* Convert Internet number in IN to ASCII representation.  The return value
    is a pointer to an internal array containing the string.  */
 extern char *inet_ntoa (struct in_addr __in) __THROW;
+libc_hidden_proto(inet_ntoa)
 /* Recursion-safe flavor */
 extern char *inet_ntoa_r (struct in_addr __in, char *__buf) __THROW;
+libc_hidden_proto(inet_ntoa_r)
 
 /* Convert from presentation format of an Internet number in buffer
    starting at CP to the binary network format and store result for
    interface type AF in buffer starting at BUF.  */
 extern int inet_pton (int __af, __const char *__restrict __cp,
                      void *__restrict __buf) __THROW;
+libc_hidden_proto(inet_pton)
 
 /* Convert a Internet address in binary network format for interface
    type AF in buffer starting at CP to presentation form and place
@@ -67,6 +74,7 @@ extern int inet_pton (int __af, __const char *__restrict __cp,
 extern __const char *inet_ntop (int __af, __const void *__restrict __cp,
                                char *__restrict __buf, socklen_t __len)
      __THROW;
+libc_hidden_proto(inet_ntop)
 
 
 /* The following functions are not part of XNS 5.2.  */
@@ -74,6 +82,7 @@ extern __const char *inet_ntop (int __af, __const void *__restrict __cp,
 /* Convert Internet host address from numbers-and-dots notation in CP
    into binary data and store the result in the structure INP.  */
 extern int inet_aton (__const char *__cp, struct in_addr *__inp) __THROW;
+libc_hidden_proto(inet_aton)
 
 /* Format a network number NET into presentation format and place result
    in buffer starting at BUF with length of LEN bytes.  */
index 496c8db..a9c199e 100644 (file)
@@ -519,13 +519,16 @@ int               ns_parse_ttl (const char *, u_long *) __THROW;
 u_int32_t      ns_datetosecs (const char *cp, int *errp) __THROW;
 int            ns_name_ntol (const u_char *, u_char *, size_t) __THROW;
 int            ns_name_ntop (const u_char *, char *, size_t) __THROW;
+libc_hidden_proto(ns_name_ntop)
 int            ns_name_pton (const char *, u_char *, size_t) __THROW;
 int            ns_name_unpack (const u_char *, const u_char *,
                                const u_char *, u_char *, size_t) __THROW;
+libc_hidden_proto(ns_name_unpack)
 int            ns_name_pack (const u_char *, u_char *, int,
                              const u_char **, const u_char **) __THROW;
 int            ns_name_uncompress (const u_char *, const u_char *,
                                    const u_char *, char *, size_t) __THROW;
+libc_hidden_proto(ns_name_uncompress)
 int            ns_name_compress (const char *, u_char *, size_t,
                                  const u_char **, const u_char **) __THROW;
 int            ns_name_skip (const u_char **, const u_char *) __THROW;
index 9b9d1b7..439179d 100644 (file)
@@ -52,6 +52,7 @@ __BEGIN_DECLS
 
 /* This prints an "Assertion failed" message and aborts.  */
 extern void __assert __P((const char *, const char *, int, const char *));
+libc_hidden_proto(__assert)
 
 __END_DECLS
 
index 065dd5a..3c1b0c3 100644 (file)
@@ -169,6 +169,7 @@ __exctype (isgraph);
 __exctype (isprint);
 __exctype (ispunct);
 __exctype (isspace);
+libc_hidden_proto(isspace)
 __exctype (isupper);
 __exctype (isxdigit);
 
@@ -203,6 +204,7 @@ extern int isctype (int __c, int __mask) __THROW;
 /* Return nonzero iff C is in the ASCII set
    (i.e., is no more than 7 bits wide).  */
 extern int isascii (int __c) __THROW;
+libc_hidden_proto(isascii)
 
 /* Return the part of C that is in the ASCII set
    (i.e., the low-order 7 bits of C).  */
@@ -316,6 +318,7 @@ __exctype_l (isgraph_l);
 __exctype_l (isprint_l);
 __exctype_l (ispunct_l);
 __exctype_l (isspace_l);
+libc_hidden_proto(isspace_l)
 __exctype_l (isupper_l);
 __exctype_l (isxdigit_l);
 
@@ -325,10 +328,12 @@ __exctype_l (isblank_l);
 /* Return the lowercase version of C in locale L.  */
 extern int __tolower_l (int __c, __locale_t __l) __THROW;
 extern int tolower_l (int __c, __locale_t __l) __THROW;
+libc_hidden_proto(tolower_l)
 
 /* Return the uppercase version of C.  */
 extern int __toupper_l (int __c, __locale_t __l) __THROW;
 extern int toupper_l (int __c, __locale_t __l) __THROW;
+libc_hidden_proto(toupper_l)
 
 # if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus
 #  define __tolower_l(c, locale) \
index 565a94d..e2fce36 100644 (file)
@@ -133,6 +133,7 @@ typedef struct __dirstream DIR;
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern DIR *opendir (__const char *__name) __nonnull ((1));
+libc_hidden_proto(opendir)
 
 /* Close the directory stream DIRP.
    Return 0 if successful, -1 if not.
@@ -140,6 +141,7 @@ extern DIR *opendir (__const char *__name) __nonnull ((1));
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern int closedir (DIR *__dirp) __nonnull ((1));
+libc_hidden_proto(closedir)
 
 /* Read a directory entry from DIRP.  Return a pointer to a `struct
    dirent' describing the entry, or NULL for EOF or error.  The
@@ -153,6 +155,7 @@ extern int closedir (DIR *__dirp) __nonnull ((1));
    marked with __THROW.  */
 #ifndef __USE_FILE_OFFSET64
 extern struct dirent *readdir (DIR *__dirp) __nonnull ((1));
+libc_hidden_proto(readdir)
 #else
 # ifdef __REDIRECT
 extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64)
@@ -164,6 +167,7 @@ extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64)
 
 #ifdef __USE_LARGEFILE64
 extern struct dirent64 *readdir64 (DIR *__dirp) __nonnull ((1));
+libc_hidden_proto(readdir64)
 #endif
 
 #if defined __USE_POSIX || defined __USE_MISC
@@ -177,6 +181,7 @@ extern int readdir_r (DIR *__restrict __dirp,
                      struct dirent *__restrict __entry,
                      struct dirent **__restrict __result)
      __nonnull ((1, 2, 3));
+libc_hidden_proto(readdir_r)
 # else
 #  ifdef __REDIRECT
 extern int __REDIRECT (readdir_r,
@@ -194,6 +199,7 @@ extern int readdir64_r (DIR *__restrict __dirp,
                        struct dirent64 *__restrict __entry,
                        struct dirent64 **__restrict __result)
      __nonnull ((1, 2, 3));
+libc_hidden_proto(readdir64_r)
 # endif
 #endif /* POSIX or misc */
 
@@ -214,6 +220,7 @@ extern long int telldir (DIR *__dirp) __THROW __nonnull ((1));
 
 /* Return the file descriptor used by DIRP.  */
 extern int dirfd (DIR *__dirp) __THROW __nonnull ((1));
+libc_hidden_proto(dirfd)
 
 # if 0 /* defined __OPTIMIZE__ && defined _DIR_dirfd */
 #  define dirfd(dirp)  _DIR_dirfd (dirp)
index 7ff3553..413e1ab 100644 (file)
@@ -36,22 +36,26 @@ extern void warn (__const char *__format, ...)
      __attribute__ ((__format__ (__printf__, 1, 2)));
 extern void vwarn (__const char *__format, __gnuc_va_list)
      __attribute__ ((__format__ (__printf__, 1, 0)));
+libc_hidden_proto(vwarn)
 
 /* Likewise, but without ": " and the standard error string.  */
 extern void warnx (__const char *__format, ...)
      __attribute__ ((__format__ (__printf__, 1, 2)));
 extern void vwarnx (__const char *__format, __gnuc_va_list)
      __attribute__ ((__format__ (__printf__, 1, 0)));
+libc_hidden_proto(vwarnx)
 
 /* Likewise, and then exit with STATUS.  */
 extern void err (int __status, __const char *__format, ...)
      __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
 extern void verr (int __status, __const char *__format, __gnuc_va_list)
      __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
+libc_hidden_proto(verr)
 extern void errx (int __status, __const char *__format, ...)
      __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
 extern void verrx (int __status, __const char *, __gnuc_va_list)
      __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
+libc_hidden_proto(verrx)
 
 __END_DECLS
 
index 31a0149..4356dad 100644 (file)
@@ -82,6 +82,7 @@ extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64);
 #endif
 #ifdef __USE_LARGEFILE64
 extern int fcntl64 (int __fd, int __cmd, ...);
+libc_hidden_proto(fcntl64)
 #endif
 
 /* Open FILE and return a new file descriptor for it, or -1 on error.
@@ -103,6 +104,7 @@ extern int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64)
 #endif
 #ifdef __USE_LARGEFILE64
 extern int open64 (__const char *__file, int __oflag, ...) __nonnull ((1));
+libc_hidden_proto(open64)
 #endif
 
 #if 0 /*def __USE_GNU*/
@@ -167,6 +169,7 @@ extern int creat64 (__const char *__file, __mode_t __mode) __nonnull ((1));
 
 # ifndef __USE_FILE_OFFSET64
 extern int lockf (int __fd, int __cmd, __off_t __len);
+libc_hidden_proto(lockf)
 # else
 # ifdef __REDIRECT
 extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len), lockf64);
@@ -176,6 +179,7 @@ extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len), lockf64);
 # endif
 # ifdef __USE_LARGEFILE64
 extern int lockf64 (int __fd, int __cmd, __off64_t __len);
+libc_hidden_proto(lockf64)
 # endif
 #endif
 
index aefb007..9178706 100644 (file)
@@ -64,6 +64,7 @@ extern "C" {
    returning zero if it matches, FNM_NOMATCH if not.  */
 extern int fnmatch (__const char *__pattern, __const char *__name,
                    int __flags);
+libc_hidden_proto(fnmatch)
 
 #ifdef __cplusplus
 }
index 68ea2cb..875dfc5 100644 (file)
@@ -173,9 +173,11 @@ typedef struct
 extern int glob (__const char *__restrict __pattern, int __flags,
                 int (*__errfunc) (__const char *, int),
                 glob_t *__restrict __pglob) __THROW;
+libc_hidden_proto(glob)
 
 /* Free storage allocated in PGLOB by a previous `glob' call.  */
 extern void globfree (glob_t *__pglob) __THROW;
+libc_hidden_proto(globfree)
 #else
 extern int __REDIRECT_NTH (glob, (__const char *__restrict __pattern,
                                  int __flags,
@@ -189,8 +191,10 @@ extern void __REDIRECT_NTH (globfree, (glob_t *__pglob), globfree64);
 extern int glob64 (__const char *__restrict __pattern, int __flags,
                   int (*__errfunc) (__const char *, int),
                   glob64_t *__restrict __pglob) __THROW;
+libc_hidden_proto(glob64)
 
 extern void globfree64 (glob64_t *__pglob) __THROW;
+libc_hidden_proto(globfree64)
 #endif
 
 
@@ -201,6 +205,7 @@ extern void globfree64 (glob64_t *__pglob) __THROW;
    This function is not part of the interface specified by POSIX.2
    but several programs want to use it.  */
 extern int glob_pattern_p (__const char *__pattern, int __quote) __THROW;
+libc_hidden_proto(glob_pattern_p)
 #endif
 
 __END_DECLS
index fa381d2..45b2104 100644 (file)
@@ -133,6 +133,7 @@ extern struct group *getgrnam (__const char *__name);
 extern int getgrent_r (struct group *__restrict __resultbuf,
                       char *__restrict __buffer, size_t __buflen,
                       struct group **__restrict __result);
+libc_hidden_proto(getgrent_r)
 # endif
 
 /* Search for an entry with a matching group ID.
@@ -142,6 +143,7 @@ extern int getgrent_r (struct group *__restrict __resultbuf,
 extern int getgrgid_r (__gid_t __gid, struct group *__restrict __resultbuf,
                       char *__restrict __buffer, size_t __buflen,
                       struct group **__restrict __result);
+libc_hidden_proto(getgrgid_r)
 
 /* Search for an entry with a matching group name.
 
@@ -151,6 +153,7 @@ extern int getgrnam_r (__const char *__restrict __name,
                       struct group *__restrict __resultbuf,
                       char *__restrict __buffer, size_t __buflen,
                       struct group **__restrict __result);
+libc_hidden_proto(getgrnam_r)
 
 # ifdef        __USE_SVID
 /* Read a group entry from STREAM.  This function is not standardized
@@ -164,6 +167,7 @@ extern int fgetgrent_r (FILE *__restrict __stream,
                        struct group *__restrict __resultbuf,
                        char *__restrict __buffer, size_t __buflen,
                        struct group **__restrict __result);
+libc_hidden_proto(fgetgrent_r)
 # endif
 
 #endif /* POSIX or reentrant */
@@ -192,6 +196,7 @@ extern int getgrouplist (__const char *__user, __gid_t __group,
 
 /* Set the group set for the current user to GROUPS (N of them).  */
 extern int setgroups (size_t __n, __const __gid_t *__groups) __THROW;
+libc_hidden_proto(setgroups)
 
 /* Initialize the group set for the current user
    by reading the group database and using all groups
index 12f0080..f289a66 100644 (file)
@@ -603,6 +603,7 @@ enum
    it is usually in read-only memory and cannot be modified.  */
 
 extern char *nl_langinfo (nl_item __item) __THROW;
+libc_hidden_proto(nl_langinfo)
 
 
 #ifdef __UCLIBC_HAS_XLOCALE__
@@ -615,6 +616,7 @@ extern char *nl_langinfo (nl_item __item) __THROW;
 
 /* Just like nl_langinfo but get the information from the locale object L.  */
 extern char *nl_langinfo_l (nl_item __item, __locale_t l);
+libc_hidden_proto(nl_langinfo_l)
 #endif
 #endif
 
index 7b2566f..525444a 100644 (file)
 /* sources are built w/ _GNU_SOURCE, this gets undefined */
 #ifdef __USE_GNU
 extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen);
+libc_hidden_proto(__xpg_strerror_r)
 #else
 extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen);
+libc_hidden_proto(__glibc_strerror_r)
 #endif
 
 /* #include <pthread.h> */
index 241e3f0..cdb3a09 100644 (file)
@@ -128,6 +128,7 @@ extern char *setlocale (int __category, __const char *__locale) __THROW;
 
 /* Return the numeric/monetary information for the current locale.  */
 extern struct lconv *localeconv (void) __THROW;
+libc_hidden_proto(localeconv)
 
 __END_NAMESPACE_STD
 
@@ -157,6 +158,7 @@ typedef __locale_t locale_t;
    made by OR'ing together LC_*_MASK bits above.  */
 extern __locale_t newlocale (int __category_mask, __const char *__locale,
                             __locale_t __base) __THROW;
+libc_hidden_proto(newlocale)
 
 /* These are the bits that can be set in the CATEGORY_MASK argument to
    `newlocale'.  In the GNU implementation, LC_FOO_MASK has the value
@@ -204,6 +206,7 @@ extern __locale_t newlocale (int __category_mask, __const char *__locale,
 /* Return a duplicate of the set of locale in DATASET.  All usage
    counters are increased if necessary.  */
 extern __locale_t duplocale (__locale_t __dataset) __THROW;
+libc_hidden_proto(duplocale)
 
 /* Free the data associated with a locale dataset previously returned
    by a call to `setlocale_r'.  */
index 12834a5..1865409 100644 (file)
@@ -146,6 +146,7 @@ struct mallinfo {
 
 /* Returns a copy of the updated current mallinfo. */
 extern struct mallinfo mallinfo __MALLOC_P ((void));
+libc_hidden_proto(mallinfo)
 
 /* Release all but __pad bytes of freed top-most memory back to the
    system. Return 1 if successful, else 0. */
@@ -189,7 +190,9 @@ extern int mallopt __MALLOC_P ((int __param, int __val));
  * if it returns. If __uc_malloc_failed is NULL, uclibc will _exit(1).
  * NB: do not use stdio in __uc_malloc_failed handler! */
 extern void *__uc_malloc(size_t size);
+libc_hidden_proto(__uc_malloc)
 extern void (*__uc_malloc_failed)(size_t size);
+libc_hidden_proto(__uc_malloc_failed)
 
 #ifdef __cplusplus
 } /* end of extern "C" */
index a82e953..a936b83 100644 (file)
@@ -65,6 +65,7 @@ struct mntent
 /* Prepare to begin reading and/or writing mount table entries from the
    beginning of FILE.  MODE is as for `fopen'.  */
 extern FILE *setmntent (__const char *__file, __const char *__mode) __THROW;
+libc_hidden_proto(setmntent)
 
 /* Read one mount table entry from STREAM.  Returns a pointer to storage
    reused on the next call, or null for EOF or error (use feof/ferror to
@@ -77,6 +78,7 @@ extern struct mntent *getmntent_r (FILE *__restrict __stream,
                                   struct mntent *__restrict __result,
                                   char *__restrict __buffer,
                                   int __bufsize) __THROW;
+libc_hidden_proto(getmntent_r)
 #endif
 
 /* Write the mount table entry described by MNT to STREAM.
@@ -86,6 +88,7 @@ extern int addmntent (FILE *__restrict __stream,
 
 /* Close a stream opened with `setmntent'.  */
 extern int endmntent (FILE *__stream) __THROW;
+libc_hidden_proto(endmntent)
 
 /* Search MNT->mnt_opts for an option matching OPT.
    Returns the address of the substring, or null if none found.  */
index ebb3e9f..6d6d59a 100644 (file)
@@ -192,13 +192,16 @@ __BEGIN_DECLS
 
 /* Convert an interface name to an index, and vice versa.  */
 extern unsigned int if_nametoindex (__const char *__ifname) __THROW;
+libc_hidden_proto(if_nametoindex)
 extern char *if_indextoname (unsigned int __ifindex, char *__ifname) __THROW;
 
 /* Return a list of all interfaces and their indices.  */
 extern struct if_nameindex *if_nameindex (void) __THROW;
+libc_hidden_proto(if_nameindex)
 
 /* Free the data returned from if_nameindex.  */
 extern void if_freenameindex (struct if_nameindex *__ptr) __THROW;
+libc_hidden_proto(if_freenameindex)
 
 __END_DECLS
 
index df90601..99ba243 100644 (file)
@@ -64,6 +64,7 @@ extern int h_errno;
 
 /* Function to get address of global `h_errno' variable.  */
 extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
+libc_hidden_proto(__h_errno_location)
 
 #ifdef _LIBC
 # define __set_h_errno(x) (h_errno = (x))
@@ -94,6 +95,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
 /* Print error indicated by `h_errno' variable on standard error.  STR
    if non-null is printed before the error string.  */
 extern void herror (__const char *__str) __THROW;
+libc_hidden_proto(herror)
 
 /* Return string associated with error ERR_NUM.  */
 extern __const char *hstrerror (int __err_num) __THROW;
@@ -138,12 +140,14 @@ extern struct hostent *gethostent (void);
    marked with __THROW.  */
 extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len,
                                      int __type);
+libc_hidden_proto(gethostbyaddr)
 
 /* Return entry from host data base for host with NAME.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern struct hostent *gethostbyname (__const char *__name);
+libc_hidden_proto(gethostbyname)
 
 #ifdef __USE_MISC
 /* Return entry from host data base for host with NAME.  AF must be
@@ -170,6 +174,7 @@ extern int gethostent_r (struct hostent *__restrict __result_buf,
                         char *__restrict __buf, size_t __buflen,
                         struct hostent **__restrict __result,
                         int *__restrict __h_errnop);
+libc_hidden_proto(gethostent_r)
 
 extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len,
                            int __type,
@@ -177,18 +182,21 @@ extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len,
                            char *__restrict __buf, size_t __buflen,
                            struct hostent **__restrict __result,
                            int *__restrict __h_errnop);
+libc_hidden_proto(gethostbyaddr_r)
 
 extern int gethostbyname_r (__const char *__restrict __name,
                            struct hostent *__restrict __result_buf,
                            char *__restrict __buf, size_t __buflen,
                            struct hostent **__restrict __result,
                            int *__restrict __h_errnop);
+libc_hidden_proto(gethostbyname_r)
 
 extern int gethostbyname2_r (__const char *__restrict __name, int __af,
                             struct hostent *__restrict __result_buf,
                             char *__restrict __buf, size_t __buflen,
                             struct hostent **__restrict __result,
                             int *__restrict __h_errnop);
+libc_hidden_proto(gethostbyname2_r)
 #endif /* misc */
 
 
@@ -198,12 +206,14 @@ extern int gethostbyname2_r (__const char *__restrict __name, int __af,
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void setnetent (int __stay_open);
+libc_hidden_proto(setnetent)
 
 /* Close network data base files and clear `stay open' flag.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void endnetent (void);
+libc_hidden_proto(endnetent)
 
 /* Get next entry from network data base file.  Open data base if
    necessary.
@@ -211,6 +221,7 @@ extern void endnetent (void);
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern struct netent *getnetent (void);
+libc_hidden_proto(getnetent)
 
 /* Return entry from network data base which address match NET and
    type TYPE.
@@ -273,12 +284,14 @@ struct servent
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void setservent (int __stay_open);
+libc_hidden_proto(setservent)
 
 /* Close service data base files and clear `stay open' flag.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void endservent (void);
+libc_hidden_proto(endservent)
 
 /* Get next entry from service data base file.  Open data base if
    necessary.
@@ -301,6 +314,7 @@ extern struct servent *getservbyname (__const char *__name,
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern struct servent *getservbyport (int __port, __const char *__proto);
+libc_hidden_proto(getservbyport)
 
 
 #ifdef __USE_MISC
@@ -314,17 +328,20 @@ extern struct servent *getservbyport (int __port, __const char *__proto);
 extern int getservent_r (struct servent *__restrict __result_buf,
                         char *__restrict __buf, size_t __buflen,
                         struct servent **__restrict __result);
+libc_hidden_proto(getservent_r)
 
 extern int getservbyname_r (__const char *__restrict __name,
                            __const char *__restrict __proto,
                            struct servent *__restrict __result_buf,
                            char *__restrict __buf, size_t __buflen,
                            struct servent **__restrict __result);
+libc_hidden_proto(getservbyname_r)
 
 extern int getservbyport_r (int __port, __const char *__restrict __proto,
                            struct servent *__restrict __result_buf,
                            char *__restrict __buf, size_t __buflen,
                            struct servent **__restrict __result);
+libc_hidden_proto(getservbyport_r)
 #endif /* misc */
 
 
@@ -342,12 +359,14 @@ struct protoent
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void setprotoent (int __stay_open);
+libc_hidden_proto(setprotoent)
 
 /* Close protocol data base files and clear `stay open' flag.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void endprotoent (void);
+libc_hidden_proto(endprotoent)
 
 /* Get next entry from protocol data base file.  Open data base if
    necessary.
@@ -380,16 +399,19 @@ extern struct protoent *getprotobynumber (int __proto);
 extern int getprotoent_r (struct protoent *__restrict __result_buf,
                          char *__restrict __buf, size_t __buflen,
                          struct protoent **__restrict __result);
+libc_hidden_proto(getprotoent_r)
 
 extern int getprotobyname_r (__const char *__restrict __name,
                             struct protoent *__restrict __result_buf,
                             char *__restrict __buf, size_t __buflen,
                             struct protoent **__restrict __result);
+libc_hidden_proto(getprotobyname_r)
 
 extern int getprotobynumber_r (int __proto,
                               struct protoent *__restrict __result_buf,
                               char *__restrict __buf, size_t __buflen,
                               struct protoent **__restrict __result);
+libc_hidden_proto(getprotobynumber_r)
 
 
 #ifdef __UCLIBC_HAS_NETGROUP__
@@ -447,6 +469,7 @@ extern int getnetgrent_r (char **__restrict __hostp,
 /* ruserpass - remote password check.
    This function also exists in glibc but is undocumented */
 extern int ruserpass(const char *host, const char **aname, const char **apass);
+libc_hidden_proto(ruserpass)
 
 
 #ifdef __USE_BSD
@@ -509,6 +532,7 @@ extern int rexec_af (char **__restrict __ahost, int __rport,
                     __const char *__restrict __pass,
                     __const char *__restrict __cmd, int *__restrict __fd2p,
                     sa_family_t __af);
+libc_hidden_proto(rexec_af)
 
 /* Check whether user REMUSER on system RHOST is allowed to login as LOCUSER.
    If SUSER is not zero the user tries to become superuser.  Return 0 if
@@ -544,6 +568,7 @@ extern int ruserok_af (__const char *__rhost, int __suser,
    or due to the implementation it is a cancellation point and
    therefore not marked with __THROW.  */
 extern int rresvport (int *__alport);
+libc_hidden_proto(rresvport)
 
 #if 0
 /* FIXME */
@@ -641,9 +666,11 @@ extern int getaddrinfo (__const char *__restrict __name,
                        __const char *__restrict __service,
                        __const struct addrinfo *__restrict __req,
                        struct addrinfo **__restrict __pai);
+libc_hidden_proto(getaddrinfo)
 
 /* Free `addrinfo' structure AI including associated storage.  */
 extern void freeaddrinfo (struct addrinfo *__ai) __THROW;
+libc_hidden_proto(freeaddrinfo)
 
 /* Convert error return from getaddrinfo() to a string.  */
 extern __const char *gai_strerror (int __ecode) __THROW;
@@ -656,6 +683,7 @@ extern int getnameinfo (__const struct sockaddr *__restrict __sa,
                        socklen_t __salen, char *__restrict __host,
                        socklen_t __hostlen, char *__restrict __serv,
                        socklen_t __servlen, unsigned int __flags);
+libc_hidden_proto(getnameinfo)
 #endif /* POSIX */
 
 __END_DECLS
index 0f7029f..3d8902f 100644 (file)
@@ -33,6 +33,7 @@ __BEGIN_DECLS
 extern char *ether_ntoa (__const struct ether_addr *__addr) __THROW;
 extern char *ether_ntoa_r (__const struct ether_addr *__addr, char *__buf)
      __THROW;
+libc_hidden_proto(ether_ntoa_r)
 
 /* Convert ASCII string S to 48 bit Ethernet address.  */
 extern struct ether_addr *ether_aton (__const char *__asc) __THROW;
index 6bfc5e7..942373f 100644 (file)
@@ -206,6 +206,7 @@ struct in6_addr
 
 extern const struct in6_addr in6addr_any;        /* :: */
 extern const struct in6_addr in6addr_loopback;   /* ::1 */
+libc_hidden_proto(in6addr_loopback)
 #define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
 #define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
 
@@ -429,6 +430,7 @@ extern uint16_t htons (uint16_t __hostshort)
 
 /* Bind socket to a privileged IP port.  */
 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW;
+libc_hidden_proto(bindresvport)
 
 /* The IPv6 version of this function.  */
 extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)
index e874133..4623bfd 100644 (file)
@@ -140,17 +140,20 @@ extern struct passwd *getpwnam (__const char *__name);
 extern int getpwent_r (struct passwd *__restrict __resultbuf,
                       char *__restrict __buffer, size_t __buflen,
                       struct passwd **__restrict __result);
+libc_hidden_proto(getpwent_r)
 # endif
 
 extern int getpwuid_r (__uid_t __uid,
                       struct passwd *__restrict __resultbuf,
                       char *__restrict __buffer, size_t __buflen,
                       struct passwd **__restrict __result);
+libc_hidden_proto(getpwuid_r)
 
 extern int getpwnam_r (__const char *__restrict __name,
                       struct passwd *__restrict __resultbuf,
                       char *__restrict __buffer, size_t __buflen,
                       struct passwd **__restrict __result);
+libc_hidden_proto(getpwnam_r)
 
 
 # ifdef        __USE_SVID
@@ -165,6 +168,7 @@ extern int fgetpwent_r (FILE *__restrict __stream,
                        struct passwd *__restrict __resultbuf,
                        char *__restrict __buffer, size_t __buflen,
                        struct passwd **__restrict __result);
+libc_hidden_proto(fgetpwent_r)
 # endif
 
 #endif /* POSIX or reentrant */
index acbd4c7..ee204db 100644 (file)
@@ -310,12 +310,15 @@ void              p_query (const u_char *) __THROW;
 void           res_close (void) __THROW;
 #endif
 int            res_init (void) __THROW;
+libc_hidden_proto(res_init)
 int            res_isourserver (const struct sockaddr_in *) __THROW;
 int            res_mkquery (int, const char *, int, int, const u_char *,
                             int, const u_char *, u_char *, int) __THROW;
 int            res_query (const char *, int, int, u_char *, int) __THROW;
+libc_hidden_proto(res_query)
 int            res_querydomain (const char *, const char *, int, int,
                                 u_char *, int) __THROW;
+libc_hidden_proto(res_querydomain)
 int            res_search (const char *, int, int, u_char *, int) __THROW;
 int            res_send (const u_char *, int, u_char *, int) __THROW;
 __END_DECLS
index 17eb59f..15126c1 100644 (file)
@@ -171,8 +171,11 @@ extern struct opaque_auth _null_auth;
  */
 extern AUTH *authunix_create (char *__machname, __uid_t __uid, __gid_t __gid,
                              int __len, __gid_t *__aup_gids);
+libc_hidden_proto(authunix_create)
 extern AUTH *authunix_create_default (void);
+libc_hidden_proto(authunix_create_default)
 extern AUTH *authnone_create (void) __THROW;
+libc_hidden_proto(authnone_create)
 extern AUTH *authdes_create (const char *__servername, u_int __window,
                             struct sockaddr *__syncaddr, des_block *__ckey)
      __THROW;
@@ -218,6 +221,7 @@ extern int key_get_conv (char *, des_block *);
  * XDR an opaque authentication struct.
  */
 extern bool_t xdr_opaque_auth (XDR *, struct opaque_auth *) __THROW;
+libc_hidden_proto(xdr_opaque_auth)
 
 __END_DECLS
 
index 12ada84..7a6b8be 100644 (file)
@@ -105,6 +105,7 @@ extern int getsecretkey (__const char *__name, char *__key,
 
 extern int rtime (struct sockaddr_in *__addrp, struct rpc_timeval *__timep,
                  struct rpc_timeval *__timeout) __THROW;
+libc_hidden_proto(rtime)
 
 __END_DECLS
 
index 424661d..713fcb4 100644 (file)
@@ -74,6 +74,7 @@ struct authunix_parms
 
 extern bool_t xdr_authunix_parms (XDR *__xdrs, struct authunix_parms *__p)
      __THROW;
+libc_hidden_proto(xdr_authunix_parms)
 
 /*
  * If a response verifier has flavor AUTH_SHORT,
index cf271c5..72801e3 100644 (file)
@@ -310,6 +310,7 @@ extern CLIENT *clnt_create (__const char *__host, __const u_long __prog,
 extern CLIENT *clnttcp_create (struct sockaddr_in *__raddr, u_long __prog,
                               u_long __version, int *__sockp, u_int __sendsz,
                               u_int __recvsz) __THROW;
+libc_hidden_proto(clnttcp_create)
 
 /*
  * UDP based rpc.
@@ -335,12 +336,12 @@ extern CLIENT *clnttcp_create (struct sockaddr_in *__raddr, u_long __prog,
 extern CLIENT *clntudp_create (struct sockaddr_in *__raddr, u_long __program,
                               u_long __version, struct timeval __wait_resend,
                               int *__sockp) __THROW;
+libc_hidden_proto(clntudp_create)
 extern CLIENT *clntudp_bufcreate (struct sockaddr_in *__raddr,
                                  u_long __program, u_long __version,
                                  struct timeval __wait_resend, int *__sockp,
                                  u_int __sendsz, u_int __recvsz) __THROW;
-
-
+libc_hidden_proto(clntudp_bufcreate)
 
 
 /*
@@ -357,6 +358,7 @@ extern CLIENT *clntudp_bufcreate (struct sockaddr_in *__raddr,
 extern CLIENT *clntunix_create  (struct sockaddr_un *__raddr, u_long __program,
                                 u_long __version, int *__sockp,
                                 u_int __sendsz, u_int __recvsz) __THROW;
+libc_hidden_proto(clntunix_create)
 
 
 extern int callrpc (__const char *__host, __const u_long __prognum,
@@ -364,12 +366,14 @@ extern int callrpc (__const char *__host, __const u_long __prognum,
                    __const xdrproc_t __inproc, __const char *__in,
                    __const xdrproc_t __outproc, char *__out) __THROW;
 extern int _rpc_dtablesize (void) __THROW;
+libc_hidden_proto(_rpc_dtablesize)
 
 /*
  * Print why creation failed
  */
 extern void clnt_pcreateerror (__const char *__msg);   /* stderr */
 extern char *clnt_spcreateerror(__const char *__msg) __THROW;  /* string */
+libc_hidden_proto(clnt_spcreateerror)
 
 /*
  * Like clnt_perror(), but is more verbose in its output
@@ -381,8 +385,11 @@ extern void clnt_perrno (enum clnt_stat __num);            /* stderr */
  */
 extern void clnt_perror (CLIENT *__clnt, __const char *__msg);
                                                        /* stderr */
+libc_hidden_proto(clnt_perror)
 extern char *clnt_sperror (CLIENT *__clnt, __const char *__msg) __THROW;
                                                        /* string */
+libc_hidden_proto(clnt_sperror)
+
 
 /*
  * If a creation fails, the following allows the user to figure out why.
@@ -400,6 +407,7 @@ extern struct rpc_createerr rpc_createerr;
  * Copy error message to buffer.
  */
 extern char *clnt_sperrno (enum clnt_stat __num) __THROW;      /* string */
+libc_hidden_proto(clnt_sperrno)
 
 /*
  * get the port number on the host for the rpc program,version and proto
index 8671737..e9a6565 100644 (file)
@@ -51,10 +51,15 @@ struct rpcent
 };
 
 extern void setrpcent (int __stayopen) __THROW;
+libc_hidden_proto(setrpcent)
 extern void endrpcent (void) __THROW;
+libc_hidden_proto(endrpcent)
 extern struct rpcent *getrpcbyname (__const char *__name) __THROW;
+libc_hidden_proto(getrpcbyname)
 extern struct rpcent *getrpcbynumber (int __number) __THROW;
+libc_hidden_proto(getrpcbynumber)
 extern struct rpcent *getrpcent (void) __THROW;
+libc_hidden_proto(getrpcent)
 
 #if defined __USE_MISC && defined __UCLIBC_HAS_REENTRANT_RPC__
 extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf,
index 1b1c452..f5e825d 100644 (file)
@@ -71,8 +71,10 @@ typedef bool_t (*resultproc_t) (caddr_t resp, struct sockaddr_in *raddr);
 
 extern bool_t pmap_set (__const u_long __program, __const u_long __vers,
                        int __protocol, u_short __port) __THROW;
+libc_hidden_proto(pmap_set)
 extern bool_t pmap_unset (__const u_long __program, __const u_long __vers)
      __THROW;
+libc_hidden_proto(pmap_unset)
 extern struct pmaplist *pmap_getmaps (struct sockaddr_in *__address) __THROW;
 extern enum clnt_stat pmap_rmtcall (struct sockaddr_in *__addr,
                                    __const u_long __prog,
@@ -92,6 +94,7 @@ extern u_short pmap_getport (struct sockaddr_in *__address,
                             __const u_long __program,
                             __const u_long __version, u_int __protocol)
      __THROW;
+libc_hidden_proto(pmap_getport)
 
 __END_DECLS
 
index cd64e36..30b2670 100644 (file)
@@ -95,6 +95,7 @@ struct pmap {
 };
 
 extern bool_t xdr_pmap (XDR *__xdrs, struct pmap *__regs) __THROW;
+libc_hidden_proto(xdr_pmap)
 
 struct pmaplist {
        struct pmap     pml_map;
@@ -102,6 +103,7 @@ struct pmaplist {
 };
 
 extern bool_t xdr_pmaplist (XDR *__xdrs, struct pmaplist **__rp) __THROW;
+libc_hidden_proto(xdr_pmaplist)
 
 __END_DECLS
 
index 7a38b5f..59b4f65 100644 (file)
@@ -53,6 +53,8 @@ struct rmtcallargs {
 
 extern bool_t xdr_rmtcall_args (XDR *__xdrs, struct rmtcallargs *__crp)
      __THROW;
+libc_hidden_proto(xdr_rmtcall_args)
+
 
 struct rmtcallres {
        u_long *port_ptr;
@@ -62,6 +64,7 @@ struct rmtcallres {
 };
 
 extern bool_t xdr_rmtcallres (XDR *__xdrs, struct rmtcallres *__crp) __THROW;
+libc_hidden_proto(xdr_rmtcallres)
 
 __END_DECLS
 
index 8194ffe..dce1c3e 100644 (file)
@@ -84,10 +84,12 @@ __BEGIN_DECLS
 
 /* Global variables, protected for multi-threaded applications.  */
 extern fd_set *__rpc_thread_svc_fdset (void) __attribute__ ((__const__));
+libc_hidden_proto(__rpc_thread_svc_fdset)
 #define svc_fdset (*__rpc_thread_svc_fdset ())
 
 extern struct rpc_createerr *__rpc_thread_createerr (void)
      __attribute__ ((__const__));
+libc_hidden_proto(__rpc_thread_createerr)
 #define get_rpc_createerr() (*__rpc_thread_createerr ())
 /* The people who "engineered" RPC should bee punished for naming the
    data structure and the variable the same.  We cannot always define the
@@ -100,13 +102,17 @@ extern struct rpc_createerr *__rpc_thread_createerr (void)
 
 extern struct pollfd **__rpc_thread_svc_pollfd (void)
      __attribute__ ((__const__));
+libc_hidden_proto(__rpc_thread_svc_pollfd)
 #define svc_pollfd (*__rpc_thread_svc_pollfd ())
 
 extern int *__rpc_thread_svc_max_pollfd (void) __attribute__ ((__const__));
+libc_hidden_proto(__rpc_thread_svc_max_pollfd)
 #define svc_max_pollfd (*__rpc_thread_svc_max_pollfd ())
 
 extern bool_t xdr_accepted_reply (XDR *xdrs, struct accepted_reply *ar);
+libc_hidden_proto(xdr_accepted_reply)
 extern bool_t xdr_rejected_reply (XDR *xdrs, struct rejected_reply *rr);
+libc_hidden_proto(xdr_rejected_reply)
 
 __END_DECLS
 
index c04f03c..c848b39 100644 (file)
@@ -171,6 +171,7 @@ struct rpc_msg {
  *     struct rpc_msg *cmsg;
  */
 extern bool_t  xdr_callmsg (XDR *__xdrs, struct rpc_msg *__cmsg) __THROW;
+libc_hidden_proto(xdr_callmsg)
 
 /*
  * XDR routine to pre-serialize the static part of a rpc message.
@@ -179,6 +180,7 @@ extern bool_t       xdr_callmsg (XDR *__xdrs, struct rpc_msg *__cmsg) __THROW;
  *     struct rpc_msg *cmsg;
  */
 extern bool_t  xdr_callhdr (XDR *__xdrs, struct rpc_msg *__cmsg) __THROW;
+libc_hidden_proto(xdr_callhdr)
 
 /*
  * XDR routine to handle a rpc reply.
@@ -197,6 +199,7 @@ libc_hidden_proto(xdr_replymsg)
  */
 extern void    _seterr_reply (struct rpc_msg *__msg, struct rpc_err *__error)
      __THROW;
+libc_hidden_proto(_seterr_reply)
 
 __END_DECLS
 
index 3ffca50..6898325 100644 (file)
@@ -173,6 +173,7 @@ typedef void (*__dispatch_fn_t) (struct svc_req*, SVCXPRT*);
 extern bool_t svc_register (SVCXPRT *__xprt, rpcprog_t __prog,
                            rpcvers_t __vers, __dispatch_fn_t __dispatch,
                            rpcprot_t __protocol) __THROW;
+libc_hidden_proto(svc_register)
 
 /*
  * Service un-registration
@@ -182,6 +183,7 @@ extern bool_t svc_register (SVCXPRT *__xprt, rpcprog_t __prog,
  *     rpcvers_t vers;
  */
 extern void svc_unregister (rpcprog_t __prog, rpcvers_t __vers) __THROW;
+libc_hidden_proto(svc_unregister)
 
 /*
  * Transport registration.
@@ -190,6 +192,7 @@ extern void svc_unregister (rpcprog_t __prog, rpcvers_t __vers) __THROW;
  *     SVCXPRT *xprt;
  */
 extern void xprt_register (SVCXPRT *__xprt) __THROW;
+libc_hidden_proto(xprt_register)
 
 /*
  * Transport un-register
@@ -198,7 +201,7 @@ extern void xprt_register (SVCXPRT *__xprt) __THROW;
  *     SVCXPRT *xprt;
  */
 extern void xprt_unregister (SVCXPRT *__xprt) __THROW;
-
+libc_hidden_proto(xprt_unregister)
 
 /*
  * When the service routine is called, it must first check to see if it
@@ -228,8 +231,10 @@ extern void xprt_unregister (SVCXPRT *__xprt) __THROW;
 
 extern bool_t  svc_sendreply (SVCXPRT *xprt, xdrproc_t __xdr_results,
                               caddr_t __xdr_location) __THROW;
+libc_hidden_proto(svc_sendreply)
 
 extern void    svcerr_decode (SVCXPRT *__xprt) __THROW;
+libc_hidden_proto(svcerr_decode)
 
 extern void    svcerr_weakauth (SVCXPRT *__xprt) __THROW;
 
@@ -237,10 +242,13 @@ extern void       svcerr_noproc (SVCXPRT *__xprt) __THROW;
 
 extern void    svcerr_progvers (SVCXPRT *__xprt, rpcvers_t __low_vers,
                                 rpcvers_t __high_vers) __THROW;
+libc_hidden_proto(svcerr_progvers)
 
 extern void    svcerr_auth (SVCXPRT *__xprt, enum auth_stat __why) __THROW;
+libc_hidden_proto(svcerr_auth)
 
 extern void    svcerr_noprog (SVCXPRT *__xprt) __THROW;
+libc_hidden_proto(svcerr_noprog)
 
 extern void    svcerr_systemerr (SVCXPRT *__xprt) __THROW;
 
@@ -270,9 +278,13 @@ extern fd_set svc_fdset;
  * also see clnt.h for protocol numbers.
  */
 extern void svc_getreq (int __rdfds) __THROW;
+libc_hidden_proto(svc_getreq)
 extern void svc_getreq_common (const int __fd) __THROW;
+libc_hidden_proto(svc_getreq_common)
 extern void svc_getreqset (fd_set *__readfds) __THROW;
+libc_hidden_proto(svc_getreqset)
 extern void svc_getreq_poll (struct pollfd *, const int) __THROW;
+libc_hidden_proto(svc_getreq_poll)
 extern void svc_exit (void) __THROW;
 extern void svc_run (void) __THROW;
 
@@ -294,8 +306,10 @@ extern SVCXPRT *svcraw_create (void) __THROW;
  * Udp based rpc.
  */
 extern SVCXPRT *svcudp_create (int __sock) __THROW;
+libc_hidden_proto(svcudp_create)
 extern SVCXPRT *svcudp_bufcreate (int __sock, u_int __sendsz, u_int __recvsz)
      __THROW;
+libc_hidden_proto(svcudp_bufcreate)
 
 /*
  * Tcp based rpc.
index 1c1a715..834e3c9 100644 (file)
@@ -48,6 +48,7 @@ __BEGIN_DECLS
  */
 extern enum auth_stat _authenticate (struct svc_req *__rqst,
                                     struct rpc_msg *__msg) __THROW;
+libc_hidden_proto(_authenticate)
 
 __END_DECLS
 
index c885cdc..9981e3a 100644 (file)
@@ -293,14 +293,23 @@ struct xdr_discrim
  * also, the XDR structure is always updated by some of these calls.
  */
 extern bool_t xdr_void (void) __THROW;
+libc_hidden_proto(xdr_void)
 extern bool_t xdr_short (XDR *__xdrs, short *__sp) __THROW;
+libc_hidden_proto(xdr_short)
 extern bool_t xdr_u_short (XDR *__xdrs, u_short *__usp) __THROW;
+libc_hidden_proto(xdr_u_short)
 extern bool_t xdr_int (XDR *__xdrs, int *__ip) __THROW;
+libc_hidden_proto(xdr_int)
 extern bool_t xdr_u_int (XDR *__xdrs, u_int *__up) __THROW;
+libc_hidden_proto(xdr_u_int)
 extern bool_t xdr_long (XDR *__xdrs, long *__lp) __THROW;
+libc_hidden_proto(xdr_long)
 extern bool_t xdr_u_long (XDR *__xdrs, u_long *__ulp) __THROW;
+libc_hidden_proto(xdr_u_long)
 extern bool_t xdr_hyper (XDR *__xdrs, quad_t *__llp) __THROW;
+libc_hidden_proto(xdr_hyper)
 extern bool_t xdr_u_hyper (XDR *__xdrs, u_quad_t *__ullp) __THROW;
+libc_hidden_proto(xdr_u_hyper)
 extern bool_t xdr_longlong_t (XDR *__xdrs, quad_t *__llp) __THROW;
 extern bool_t xdr_u_longlong_t (XDR *__xdrs, u_quad_t *__ullp) __THROW;
 extern bool_t xdr_int8_t (XDR *__xdrs, int8_t *__ip) __THROW;
@@ -312,17 +321,24 @@ extern bool_t xdr_uint32_t (XDR *__xdrs, uint32_t *__up) __THROW;
 extern bool_t xdr_int64_t (XDR *__xdrs, int64_t *__ip) __THROW;
 extern bool_t xdr_uint64_t (XDR *__xdrs, uint64_t *__up) __THROW;
 extern bool_t xdr_bool (XDR *__xdrs, bool_t *__bp) __THROW;
+libc_hidden_proto(xdr_bool)
 extern bool_t xdr_enum (XDR *__xdrs, enum_t *__ep) __THROW;
+libc_hidden_proto(xdr_enum)
 extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep,
                         u_int __maxsize, u_int __elsize, xdrproc_t __elproc)
      __THROW;
+libc_hidden_proto(xdr_array)
 extern bool_t xdr_bytes (XDR *__xdrs, char **__cpp, u_int *__sizep,
                         u_int __maxsize) __THROW;
+libc_hidden_proto(xdr_bytes)
 extern bool_t xdr_opaque (XDR *__xdrs, caddr_t __cp, u_int __cnt) __THROW;
+libc_hidden_proto(xdr_opaque)
 extern bool_t xdr_string (XDR *__xdrs, char **__cpp, u_int __maxsize) __THROW;
+libc_hidden_proto(xdr_string)
 extern bool_t xdr_union (XDR *__xdrs, enum_t *__dscmp, char *__unp,
                         __const struct xdr_discrim *__choices,
                         xdrproc_t dfault) __THROW;
+libc_hidden_proto(xdr_union)
 extern bool_t xdr_char (XDR *__xdrs, char *__cp) __THROW;
 extern bool_t xdr_u_char (XDR *__xdrs, u_char *__cp) __THROW;
 extern bool_t xdr_vector (XDR *__xdrs, char *__basep, u_int __nelem,
@@ -331,6 +347,7 @@ extern bool_t xdr_float (XDR *__xdrs, float *__fp) __THROW;
 extern bool_t xdr_double (XDR *__xdrs, double *__dp) __THROW;
 extern bool_t xdr_reference (XDR *__xdrs, caddr_t *__xpp, u_int __size,
                             xdrproc_t __proc) __THROW;
+libc_hidden_proto(xdr_reference)
 extern bool_t xdr_pointer (XDR *__xdrs, char **__objpp,
                           u_int __obj_size, xdrproc_t __xdr_obj) __THROW;
 extern bool_t xdr_wrapstring (XDR *__xdrs, char **__cpp) __THROW;
@@ -368,15 +385,19 @@ extern void xdrrec_create (XDR *__xdrs, u_int __sendsize,
                           u_int __recvsize, caddr_t __tcp_handle,
                           int (*__readit) (char *, char *, int),
                           int (*__writeit) (char *, char *, int)) __THROW;
+libc_hidden_proto(xdrrec_create)
 
 /* make end of xdr record */
 extern bool_t xdrrec_endofrecord (XDR *__xdrs, bool_t __sendnow) __THROW;
+libc_hidden_proto(xdrrec_endofrecord)
 
 /* move to beginning of next record */
 extern bool_t xdrrec_skiprecord (XDR *__xdrs) __THROW;
+libc_hidden_proto(xdrrec_skiprecord)
 
 /* true if no more input */
 extern bool_t xdrrec_eof (XDR *__xdrs) __THROW;
+libc_hidden_proto(xdrrec_eof)
 
 /* free memory buffers for xdr */
 extern void xdr_free (xdrproc_t __proc, char *__objp) __THROW;
index 2ffba69..ac1963d 100644 (file)
@@ -106,8 +106,11 @@ struct hsearch_data
    same time.  */
 extern int hsearch_r (ENTRY __item, ACTION __action, ENTRY **__retval,
                      struct hsearch_data *__htab) __THROW;
+libc_hidden_proto(hsearch_r)
 extern int hcreate_r (size_t __nel, struct hsearch_data *__htab) __THROW;
+libc_hidden_proto(hcreate_r)
 extern void hdestroy_r (struct hsearch_data *__htab) __THROW;
+libc_hidden_proto(hdestroy_r)
 #endif
 
 
@@ -129,11 +132,13 @@ VISIT;
    by *ROOTP and insert a new element if not found.  */
 extern void *tsearch (__const void *__key, void **__rootp,
                      __compar_fn_t __compar);
+libc_hidden_proto(tsearch)
 
 /* Search for an entry matching the given KEY in the tree pointed to
    by *ROOTP.  If no matching entry is available return NULL.  */
 extern void *tfind (__const void *__key, void *__const *__rootp,
                    __compar_fn_t __compar);
+libc_hidden_proto(tfind)
 
 /* Remove the element matching KEY from the tree pointed to by *ROOTP.  */
 extern void *tdelete (__const void *__restrict __key,
@@ -157,6 +162,7 @@ typedef void (*__free_fn_t) (void *__nodep);
 
 /* Destroy the whole tree, call FREEFCT for each node or leaf.  */
 extern void tdestroy (void *__root, __free_fn_t __freefct);
+libc_hidden_proto(tdestroy)
 #endif
 
 
@@ -164,6 +170,7 @@ extern void tdestroy (void *__root, __free_fn_t __freefct);
    [BASE,BASE+NMEMB*SIZE).  */
 extern void *lfind (__const void *__key, __const void *__base,
                    size_t *__nmemb, size_t __size, __compar_fn_t __compar);
+libc_hidden_proto(lfind)
 
 /* Perform linear search for KEY by comparing by COMPAR function in
    array [BASE,BASE+NMEMB*SIZE) and insert entry if not found.  */
index 778df52..baad177 100644 (file)
@@ -120,18 +120,22 @@ extern int putspent (__const struct spwd *__p, FILE *__stream);
    therefore not marked with __THROW.  */
 extern int getspent_r (struct spwd *__result_buf, char *__buffer,
                       size_t __buflen, struct spwd **__result);
+libc_hidden_proto(getspent_r)
 
 extern int getspnam_r (__const char *__name, struct spwd *__result_buf,
                       char *__buffer, size_t __buflen,
                       struct spwd **__result);
+libc_hidden_proto(getspnam_r)
 
 extern int sgetspent_r (__const char *__string, struct spwd *__result_buf,
                        char *__buffer, size_t __buflen,
                        struct spwd **__result);
+libc_hidden_proto(sgetspent_r)
 
 extern int fgetspent_r (FILE *__stream, struct spwd *__result_buf,
                        char *__buffer, size_t __buflen,
                        struct spwd **__result);
+libc_hidden_proto(fgetspent_r)
 #endif /* misc */
 
 
index 5675cf1..2946f9c 100644 (file)
@@ -92,6 +92,7 @@ __BEGIN_NAMESPACE_STD
 #if defined __USE_BSD || !defined __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__
 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      __THROW;
+libc_hidden_proto(signal)
 #else
 /* Make sure the used `signal' implementation is the SVID version. */
 # ifdef __REDIRECT_NTH
@@ -116,6 +117,7 @@ extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
    If PID is < -1, send SIG to all processes in process group - PID.  */
 #ifdef __USE_POSIX
 extern int kill (__pid_t __pid, int __sig) __THROW;
+libc_hidden_proto(kill)
 #endif /* Use POSIX.  */
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
@@ -128,6 +130,7 @@ extern int killpg (__pid_t __pgrp, int __sig) __THROW;
 __BEGIN_NAMESPACE_STD
 /* Raise signal SIG, i.e., send SIG to yourself.  */
 extern int raise (int __sig) __THROW;
+libc_hidden_proto(raise)
 __END_NAMESPACE_STD
 
 #ifdef __USE_SVID
@@ -152,11 +155,13 @@ extern void psignal (int __sig, __const char *__s);
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern int __sigpause (int __sig_or_mask, int __is_sig);
+libc_hidden_proto(__sigpause)
 
 #ifdef __FAVOR_BSD
 /* Set the mask of blocked signals to MASK,
    wait for a signal to arrive, and then restore the mask.  */
 extern int sigpause (int __mask) __THROW __attribute_deprecated__;
+libc_hidden_proto(sigpause)
 # define sigpause(mask) __sigpause ((mask), 0)
 #else
 # ifdef __USE_XOPEN
@@ -176,10 +181,14 @@ extern int sigpause (int __mask) __THROW __attribute_deprecated__;
 # define sigmask(sig)  __sigmask(sig)
 
 /* Block signals in MASK, returning the old mask.  */
-extern int sigblock (int __mask) __THROW __attribute_deprecated__;
+extern int sigblock (int __mask) __THROW;
+/* collides with libc_hidden_proto: __attribute_deprecated__; */
+libc_hidden_proto(sigblock)
 
 /* Set the mask of blocked signals to MASK, returning the old mask.  */
-extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
+extern int sigsetmask (int __mask) __THROW;
+/* collides with libc_hidden_proto: __attribute_deprecated__; */
+libc_hidden_proto(sigsetmask)
 
 /* Return currently selected signal mask.  */
 extern int siggetmask (void) __THROW __attribute_deprecated__;
@@ -212,15 +221,19 @@ typedef __sighandler_t sig_t;
 
 /* Clear all signals from SET.  */
 extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1));
+libc_hidden_proto(sigemptyset)
 
 /* Set all signals in SET.  */
 extern int sigfillset (sigset_t *__set) __THROW __nonnull ((1));
+libc_hidden_proto(sigfillset)
 
 /* Add SIGNO to SET.  */
 extern int sigaddset (sigset_t *__set, int __signo) __THROW __nonnull ((1));
+libc_hidden_proto(sigaddset)
 
 /* Remove SIGNO from SET.  */
 extern int sigdelset (sigset_t *__set, int __signo) __THROW __nonnull ((1));
+libc_hidden_proto(sigdelset)
 
 /* Return 1 if SIGNO is in SET, 0 if not.  */
 extern int sigismember (__const sigset_t *__set, int __signo)
@@ -254,6 +267,7 @@ libc_hidden_proto(sigprocmask)
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern int sigsuspend (__const sigset_t *__set) __nonnull ((1));
+libc_hidden_proto(sigsuspend)
 
 /* Get and/or set the action for signal SIG.  */
 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
@@ -270,6 +284,7 @@ extern int sigpending (sigset_t *__set) __THROW __nonnull ((1));
    __THROW.  */
 extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
      __nonnull ((1, 2));
+libc_hidden_proto(sigwait)
 
 # if defined __USE_POSIX199309 && defined __UCLIBC_HAS_REALTIME__
 /* Select any of pending signals from SET and place information in INFO.
@@ -278,6 +293,7 @@ extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
    __THROW.  */
 extern int sigwaitinfo (__const sigset_t *__restrict __set,
                        siginfo_t *__restrict __info) __nonnull ((1));
+libc_hidden_proto(sigwaitinfo)
 
 /* Select any of pending signals from SET and place information in INFO.
    Wait the time specified by TIMEOUT if no signal is pending.
@@ -288,6 +304,7 @@ extern int sigtimedwait (__const sigset_t *__restrict __set,
                         siginfo_t *__restrict __info,
                         __const struct timespec *__restrict __timeout)
      __nonnull ((1));
+libc_hidden_proto(sigtimedwait)
 
 /* Send signal SIG to the process PID.  Associate data in VAL with the
    signal.  */
index 246a5bc..dea839c 100644 (file)
@@ -143,6 +143,7 @@ extern FILE *stderr;        /* Standard error output stream.  */
 __BEGIN_NAMESPACE_STD
 /* Remove file FILENAME.  */
 extern int remove (__const char *__filename) __THROW;
+libc_hidden_proto(remove)
 /* Rename file OLD to NEW.  */
 extern int rename (__const char *__old, __const char *__new) __THROW;
 __END_NAMESPACE_STD
@@ -203,6 +204,7 @@ libc_hidden_proto(fclose)
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern int fflush (FILE *__stream);
+libc_hidden_proto(fflush)
 __END_NAMESPACE_STD
 
 #ifdef __USE_MISC
@@ -213,6 +215,7 @@ __END_NAMESPACE_STD
    or due to the implementation it is a cancellation point and
    therefore not marked with __THROW.  */
 extern int fflush_unlocked (FILE *__stream);
+libc_hidden_proto(fflush_unlocked)
 #endif
 
 #ifdef __USE_GNU
@@ -269,6 +272,7 @@ extern FILE *freopen64 (__const char *__restrict __filename,
 #ifdef __USE_POSIX
 /* Create a new stream that refers to an existing system file descriptor.  */
 extern FILE *fdopen (int __fd, __const char *__modes) __THROW __wur;
+libc_hidden_proto(fdopen)
 #endif
 
 #ifdef __USE_GNU
@@ -278,6 +282,7 @@ extern FILE *fdopen (int __fd, __const char *__modes) __THROW __wur;
 extern FILE *fopencookie (void *__restrict __magic_cookie,
                          __const char *__restrict __modes,
                          _IO_cookie_io_functions_t __io_funcs) __THROW __wur;
+libc_hidden_proto(fopencookie)
 
 /* Create a new stream that refers to a memory buffer.  */
 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
@@ -288,6 +293,7 @@ extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
    and the number of characters written on fflush or fclose.  */
 extern FILE *open_memstream (char **__restrict __bufloc,
                             size_t *__restrict __sizeloc) __THROW __wur;
+libc_hidden_proto(open_memstream)
 #endif
 #endif
 
@@ -301,6 +307,7 @@ extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW;
    else allocate an internal buffer N bytes long.  */
 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
                    int __modes, size_t __n) __THROW;
+libc_hidden_proto(setvbuf)
 __END_NAMESPACE_STD
 
 #ifdef __USE_BSD
@@ -356,10 +363,12 @@ __BEGIN_NAMESPACE_C99
 extern int snprintf (char *__restrict __s, size_t __maxlen,
                     __const char *__restrict __format, ...)
      __THROW __attribute__ ((__format__ (__printf__, 3, 4)));
+libc_hidden_proto(snprintf)
 
 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
                      __const char *__restrict __format, __gnuc_va_list __arg)
      __THROW __attribute__ ((__format__ (__printf__, 3, 0)));
+libc_hidden_proto(vsnprintf)
 __END_NAMESPACE_C99
 #endif
 
@@ -369,6 +378,7 @@ __END_NAMESPACE_C99
 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
                      __gnuc_va_list __arg)
      __THROW __attribute__ ((__format__ (__printf__, 2, 0))) __wur;
+libc_hidden_proto(vasprintf)
 #if 0 /* uClibc: disabled */
 extern int __asprintf (char **__restrict __ptr,
                       __const char *__restrict __fmt, ...)
@@ -377,6 +387,7 @@ extern int __asprintf (char **__restrict __ptr,
 extern int asprintf (char **__restrict __ptr,
                     __const char *__restrict __fmt, ...)
      __THROW __attribute__ ((__format__ (__printf__, 2, 3))) __wur;
+libc_hidden_proto(asprintf)
 
 /* Write formatted output to a file descriptor.
 
@@ -387,6 +398,7 @@ extern int asprintf (char **__restrict __ptr,
 extern int vdprintf (int __fd, __const char *__restrict __fmt,
                     __gnuc_va_list __arg)
      __attribute__ ((__format__ (__printf__, 2, 0)));
+libc_hidden_proto(vdprintf)
 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
      __attribute__ ((__format__ (__printf__, 2, 3)));
 #endif
@@ -399,6 +411,7 @@ __BEGIN_NAMESPACE_STD
    marked with __THROW.  */
 extern int fscanf (FILE *__restrict __stream,
                   __const char *__restrict __format, ...) __wur;
+libc_hidden_proto(fscanf)
 /* Read formatted input from stdin.
 
    This function is a possible cancellation point and therefore not
@@ -407,6 +420,7 @@ extern int scanf (__const char *__restrict __format, ...) __wur;
 /* Read formatted input from S.  */
 extern int sscanf (__const char *__restrict __s,
                   __const char *__restrict __format, ...) __THROW;
+libc_hidden_proto(sscanf)
 __END_NAMESPACE_STD
 
 #ifdef __USE_ISOC99
@@ -418,6 +432,7 @@ __BEGIN_NAMESPACE_C99
 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
                    __gnuc_va_list __arg)
      __attribute__ ((__format__ (__scanf__, 2, 0))) __wur;
+libc_hidden_proto(vfscanf)
 
 /* Read formatted input from stdin into argument list ARG.
 
@@ -425,11 +440,13 @@ extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
    marked with __THROW.  */
 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
      __attribute__ ((__format__ (__scanf__, 1, 0))) __wur;
+libc_hidden_proto(vscanf)
 
 /* Read formatted input from S into argument list ARG.  */
 extern int vsscanf (__const char *__restrict __s,
                    __const char *__restrict __format, __gnuc_va_list __arg)
      __THROW __attribute__ ((__format__ (__scanf__, 2, 0)));
+libc_hidden_proto(vsscanf)
 __END_NAMESPACE_C99
 #endif /* Use ISO C9x.  */
 
@@ -440,6 +457,7 @@ __BEGIN_NAMESPACE_STD
    These functions are possible cancellation points and therefore not
    marked with __THROW.  */
 extern int fgetc (FILE *__stream);
+libc_hidden_proto(fgetc)
 extern int getc (FILE *__stream);
 
 /* Read a character from stdin.
@@ -459,7 +477,9 @@ __END_NAMESPACE_STD
    These functions are possible cancellation points and therefore not
    marked with __THROW.  */
 extern int getc_unlocked (FILE *__stream);
+libc_hidden_proto(getc_unlocked)
 extern int getchar_unlocked (void);
+libc_hidden_proto(getchar_unlocked)
 
 /* SUSv3 allows getc_unlocked to be a macro */
 #define getc_unlocked(_fp) __GETC_UNLOCKED(_fp)
@@ -473,6 +493,7 @@ extern int getchar_unlocked (void);
    or due to the implementation it is a cancellation point and
    therefore not marked with __THROW.  */
 extern int fgetc_unlocked (FILE *__stream);
+libc_hidden_proto(fgetc_unlocked)
 #endif /* Use MISC.  */
 
 
@@ -485,7 +506,9 @@ __BEGIN_NAMESPACE_STD
    These functions is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern int fputc (int __c, FILE *__stream);
+libc_hidden_proto(fputc)
 extern int putc (int __c, FILE *__stream);
+libc_hidden_proto(putc)
 
 /* Write a character to stdout.
 
@@ -506,6 +529,7 @@ __END_NAMESPACE_STD
    or due to the implementation it is a cancellation point and
    therefore not marked with __THROW.  */
 extern int fputc_unlocked (int __c, FILE *__stream);
+libc_hidden_proto(fputc_unlocked)
 #endif /* Use MISC.  */
 
 #if defined __USE_POSIX || defined __USE_MISC
@@ -514,6 +538,7 @@ extern int fputc_unlocked (int __c, FILE *__stream);
    These functions are possible cancellation points and therefore not
    marked with __THROW.  */
 extern int putc_unlocked (int __c, FILE *__stream);
+libc_hidden_proto(putc_unlocked)
 extern int putchar_unlocked (int __c);
 
 /* SUSv3 allows putc_unlocked to be a macro */
@@ -557,6 +582,7 @@ __END_NAMESPACE_STD
    therefore not marked with __THROW.  */
 extern char *fgets_unlocked (char *__restrict __s, int __n,
                             FILE *__restrict __stream) __wur;
+libc_hidden_proto(fgets_unlocked)
 #endif
 
 
@@ -579,6 +605,7 @@ extern __ssize_t __getdelim (char **__restrict __lineptr,
 extern __ssize_t getdelim (char **__restrict __lineptr,
                             size_t *__restrict __n, int __delimiter,
                             FILE *__restrict __stream) __wur;
+libc_hidden_proto(getdelim)
 
 /* Like `getdelim', but reads up to a newline.
 
@@ -589,6 +616,7 @@ extern __ssize_t getdelim (char **__restrict __lineptr,
 extern __ssize_t getline (char **__restrict __lineptr,
                            size_t *__restrict __n,
                            FILE *__restrict __stream) __wur;
+libc_hidden_proto(getline)
 #endif
 
 
@@ -612,6 +640,7 @@ extern int puts (__const char *__s);
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
 extern int ungetc (int __c, FILE *__stream);
+libc_hidden_proto(ungetc)
 
 
 /* Read chunks of generic data from STREAM.
@@ -620,12 +649,14 @@ extern int ungetc (int __c, FILE *__stream);
    marked with __THROW.  */
 extern size_t fread (void *__restrict __ptr, size_t __size,
                     size_t __n, FILE *__restrict __stream) __wur;
+libc_hidden_proto(fread)
 /* Write chunks of generic data to STREAM.
 
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
                      size_t __n, FILE *__restrict __s) __wur;
+libc_hidden_proto(fwrite)
 __END_NAMESPACE_STD
 
 #ifdef __USE_GNU
@@ -637,6 +668,7 @@ __END_NAMESPACE_STD
    therefore not marked with __THROW.  */
 extern int fputs_unlocked (__const char *__restrict __s,
                           FILE *__restrict __stream);
+libc_hidden_proto(fputs_unlocked)
 #endif
 
 #ifdef __USE_MISC
@@ -648,8 +680,10 @@ extern int fputs_unlocked (__const char *__restrict __s,
    therefore not marked with __THROW.  */
 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
                              size_t __n, FILE *__restrict __stream) __wur;
+libc_hidden_proto(fread_unlocked)
 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
                               size_t __n, FILE *__restrict __stream) __wur;
+libc_hidden_proto(fwrite_unlocked)
 #endif
 
 
@@ -659,16 +693,19 @@ __BEGIN_NAMESPACE_STD
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern int fseek (FILE *__stream, long int __off, int __whence);
+libc_hidden_proto(fseek)
 /* Return the current position of STREAM.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern long int ftell (FILE *__stream) __wur;
+libc_hidden_proto(ftell)
 /* Rewind to the beginning of STREAM.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void rewind (FILE *__stream);
+libc_hidden_proto(rewind)
 __END_NAMESPACE_STD
 
 /* The Single Unix Specification, Version 2, specifies an alternative,
@@ -728,7 +765,9 @@ __END_NAMESPACE_STD
 
 #ifdef __USE_LARGEFILE64
 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
+libc_hidden_proto(fseeko64)
 extern __off64_t ftello64 (FILE *__stream) __wur;
+libc_hidden_proto(ftello64)
 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
 #endif
@@ -772,11 +811,13 @@ extern __const char *__const sys_errlist[];
 #ifdef __USE_POSIX
 /* Return the system file descriptor for STREAM.  */
 extern int fileno (FILE *__stream) __THROW __wur;
+libc_hidden_proto(fileno)
 #endif /* Use POSIX.  */
 
 #ifdef __USE_MISC
 /* Faster version when locking is not required.  */
 extern int fileno_unlocked (FILE *__stream) __THROW __wur;
+libc_hidden_proto(fileno_unlocked)
 #endif
 
 
index 23d12e0..9ad54f6 100644 (file)
@@ -81,6 +81,7 @@ extern void _flushlbf (void);
 
 /* Set locking status of stream FP to TYPE.  */
 extern int __fsetlocking (FILE *__fp, int __type) __THROW;
+libc_hidden_proto(__fsetlocking)
 
 __END_DECLS
 
index 3a7c276..9112a95 100644 (file)
@@ -145,6 +145,7 @@ extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
 #ifdef __UCLIBC_HAS_WCHAR__
 #define        MB_CUR_MAX      (_stdlib_mb_cur_max ())
 extern size_t _stdlib_mb_cur_max (void) __THROW __wur;
+libc_hidden_proto(_stdlib_mb_cur_max)
 #endif
 
 
@@ -157,9 +158,11 @@ extern double atof (__const char *__nptr)
 /* Convert a string to an integer.  */
 extern int atoi (__const char *__nptr)
      __THROW __attribute_pure__ __nonnull ((1)) __wur;
+libc_hidden_proto(atoi)
 /* Convert a string to a long integer.  */
 extern long int atol (__const char *__nptr)
      __THROW __attribute_pure__ __nonnull ((1)) __wur;
+libc_hidden_proto(atol)
 __END_NAMESPACE_STD
 
 #if defined __USE_ISOC99 || defined __USE_MISC
@@ -176,6 +179,7 @@ __BEGIN_NAMESPACE_STD
 extern double strtod (__const char *__restrict __nptr,
                      char **__restrict __endptr)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(strtod)
 __END_NAMESPACE_STD
 
 #ifdef __USE_ISOC99
@@ -196,10 +200,12 @@ __BEGIN_NAMESPACE_STD
 extern long int strtol (__const char *__restrict __nptr,
                        char **__restrict __endptr, int __base)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(strtol)
 /* Convert a string to an unsigned long integer.  */
 extern unsigned long int strtoul (__const char *__restrict __nptr,
                                  char **__restrict __endptr, int __base)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(strtoul)
 __END_NAMESPACE_STD
 
 #ifdef __USE_BSD
@@ -222,6 +228,7 @@ __extension__
 extern long long int strtoll (__const char *__restrict __nptr,
                              char **__restrict __endptr, int __base)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(strtoll)
 /* Convert a string to an unsigned quadword integer.  */
 __extension__
 extern unsigned long long int strtoull (__const char *__restrict __nptr,
@@ -253,11 +260,13 @@ __END_NAMESPACE_C99
 extern long int strtol_l (__const char *__restrict __nptr,
                          char **__restrict __endptr, int __base,
                          __locale_t __loc) __THROW __nonnull ((1, 4)) __wur;
+libc_hidden_proto(strtol_l)
 
 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
                                    char **__restrict __endptr,
                                    int __base, __locale_t __loc)
      __THROW __nonnull ((1, 4)) __wur;
+libc_hidden_proto(strtoul_l)
 
 __extension__
 extern long long int strtoll_l (__const char *__restrict __nptr,
@@ -311,6 +320,7 @@ extern long int a64l (__const char *__s)
    We provide both interfaces to the same random number generator.  */
 /* Return a random long integer between 0 and RAND_MAX inclusive.  */
 extern long int random (void) __THROW;
+libc_hidden_proto(random)
 
 /* Seed the random number generator with the given number.  */
 extern void srandom (unsigned int __seed) __THROW;
@@ -345,18 +355,22 @@ struct random_data
 
 extern int random_r (struct random_data *__restrict __buf,
                     int32_t *__restrict __result) __THROW __nonnull ((1, 2));
+libc_hidden_proto(random_r)
 
 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
      __THROW __nonnull ((2));
+libc_hidden_proto(srandom_r)
 
 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
                        size_t __statelen,
                        struct random_data *__restrict __buf)
      __THROW __nonnull ((2, 4));
+libc_hidden_proto(initstate_r)
 
 extern int setstate_r (char *__restrict __statebuf,
                       struct random_data *__restrict __buf)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(setstate_r)
 # endif        /* Use misc.  */
 #endif /* Use SVID || extended X/Open || BSD. */
 
@@ -419,16 +433,19 @@ extern int drand48_r (struct drand48_data *__restrict __buffer,
 extern int erand48_r (unsigned short int __xsubi[3],
                      struct drand48_data *__restrict __buffer,
                      double *__restrict __result) __THROW __nonnull ((1, 2));
+libc_hidden_proto(erand48_r)
 #endif /* __UCLIBC_HAS_FLOATS__ */
 
 /* Return non-negative, long integer in [0,2^31).  */
 extern int lrand48_r (struct drand48_data *__restrict __buffer,
                      long int *__restrict __result)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(lrand48_r)
 extern int nrand48_r (unsigned short int __xsubi[3],
                      struct drand48_data *__restrict __buffer,
                      long int *__restrict __result)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(nrand48_r)
 
 /* Return signed, long integers in [-2^31,2^31).  */
 extern int mrand48_r (struct drand48_data *__restrict __buffer,
@@ -438,13 +455,16 @@ extern int jrand48_r (unsigned short int __xsubi[3],
                      struct drand48_data *__restrict __buffer,
                      long int *__restrict __result)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(jrand48_r)
 
 /* Seed random number generator.  */
 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
      __THROW __nonnull ((2));
+libc_hidden_proto(srand48_r)
 
 extern int seed48_r (unsigned short int __seed16v[3],
                     struct drand48_data *__buffer) __THROW __nonnull ((1, 2));
+libc_hidden_proto(seed48_r)
 
 extern int lcong48_r (unsigned short int __param[7],
                      struct drand48_data *__buffer)
@@ -552,9 +572,11 @@ extern int putenv (char *__string) __THROW __nonnull ((1));
    If REPLACE is nonzero, overwrite an existing value.  */
 extern int setenv (__const char *__name, __const char *__value, int __replace)
      __THROW __nonnull ((2));
+libc_hidden_proto(setenv)
 
 /* Remove the variable NAME from the environment.  */
 extern int unsetenv (__const char *__name) __THROW;
+libc_hidden_proto(unsetenv)
 #endif
 
 /* The following is used by uClibc in atexit.c and sysconf.c */
@@ -665,6 +687,7 @@ extern void *bsearch (__const void *__key, __const void *__base,
    using COMPAR to perform the comparisons.  */
 extern void qsort (void *__base, size_t __nmemb, size_t __size,
                   __compar_fn_t __compar) __nonnull ((1, 4));
+libc_hidden_proto(qsort)
 
 
 /* Return the absolute value of X.  */
@@ -845,6 +868,7 @@ extern char *ptsname (int __fd) __THROW __wur;
    Return 0 on success, otherwise an error number.  */
 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
      __THROW __nonnull ((2));
+libc_hidden_proto(ptsname_r)
 # endif
 # if defined __UCLIBC_HAS_GETPT__
 /* Open a master pseudo terminal and return its file descriptor.  */
@@ -864,6 +888,7 @@ extern int getloadavg (double __loadavg[], int __nelem)
 #include <stdint.h>
 extern uint32_t arc4random(void);
 extern void arc4random_stir(void);
+libc_hidden_proto(arc4random_stir)
 extern void arc4random_addrandom(unsigned char *, int);
 #endif
 
index bbca20a..e889dc1 100644 (file)
@@ -307,6 +307,7 @@ __END_NAMESPACE_STD
    ERRNUM.  */
 extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen)
      __THROW __nonnull ((2));
+libc_hidden_proto(__xpg_strerror_r)
 #  ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (strerror_r,
                           (int __errnum, char *__buf, size_t __buflen),
@@ -319,6 +320,7 @@ extern int __REDIRECT_NTH (strerror_r,
    used.  */
 extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen)
      __THROW __nonnull ((2));
+libc_hidden_proto(__glibc_strerror_r)
 #  ifdef __REDIRECT_NTH
 extern char * __REDIRECT_NTH (strerror_r,
                           (int __errnum, char *__buf, size_t __buflen),
index d8e2c7a..609f78a 100644 (file)
@@ -76,6 +76,7 @@ extern void *mmap64 (void *__addr, size_t __len, int __prot,
 /* Deallocate any mapping for the region starting at ADDR and extending LEN
    bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */
 extern int munmap (void *__addr, size_t __len) __THROW;
+libc_hidden_proto(munmap)
 
 /* Change the memory protection of the region starting at ADDR and
    extending LEN bytes to PROT.  Returns 0 if successful, -1 for errors
@@ -157,6 +158,7 @@ extern int mincore (void *__start, size_t __len, unsigned char *__vec)
    resides after a successful call.  */
 extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
                     int __flags, ...) __THROW;
+libc_hidden_proto(mremap)
 
 #ifdef __UCLIBC_LINUX_SPECIFIC__
 /* Remap arbitrary pages of a shared backing store within an existing
index c786a77..13b9134 100644 (file)
@@ -70,6 +70,7 @@ libc_hidden_proto(poll)
 extern int ppoll (struct pollfd *__fds, nfds_t __nfds,
                  __const struct timespec *__timeout,
                  __const __sigset_t *__ss);
+libc_hidden_proto(ppoll)
 #endif
 
 __END_DECLS
index 3912741..c7b8e0e 100644 (file)
@@ -50,6 +50,7 @@ typedef int __priority_which_t;
 #ifndef __USE_FILE_OFFSET64
 extern int getrlimit (__rlimit_resource_t __resource,
                      struct rlimit *__rlimits) __THROW;
+libc_hidden_proto(getrlimit)
 #else
 # ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (getrlimit, (__rlimit_resource_t __resource,
@@ -69,6 +70,7 @@ extern int getrlimit64 (__rlimit_resource_t __resource,
 #ifndef __USE_FILE_OFFSET64
 extern int setrlimit (__rlimit_resource_t __resource,
                      __const struct rlimit *__rlimits) __THROW;
+libc_hidden_proto(setrlimit)
 #else
 # ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (setrlimit, (__rlimit_resource_t __resource,
@@ -92,11 +94,13 @@ extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __THROW;
    (as specified by WHO) is used.  A lower priority number means higher
    priority.  Priorities range from PRIO_MIN to PRIO_MAX (above).  */
 extern int getpriority (__priority_which_t __which, id_t __who) __THROW;
+libc_hidden_proto(getpriority)
 
 /* Set the priority of all processes specified by WHICH and WHO (see above)
    to PRIO.  Returns 0 on success, -1 on errors.  */
 extern int setpriority (__priority_which_t __which, id_t __who, int __prio)
      __THROW;
+libc_hidden_proto(setpriority)
 
 __END_DECLS
 
index 2a40843..6ffe4e2 100644 (file)
@@ -110,6 +110,7 @@ extern int select (int __nfds, fd_set *__restrict __readfds,
                   fd_set *__restrict __writefds,
                   fd_set *__restrict __exceptfds,
                   struct timeval *__restrict __timeout);
+libc_hidden_proto(select)
 
 #ifdef __USE_XOPEN2K
 /* Same as above only that the TIMEOUT value is given with higher
index 5b1298f..fb5135d 100644 (file)
@@ -110,10 +110,12 @@ extern int socketpair (int __domain, int __type, int __protocol,
 /* Give the socket FD the local address ADDR (which is LEN bytes long).  */
 extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
      __THROW;
+libc_hidden_proto(bind)
 
 /* Put the local address of FD into *ADDR and its length in *LEN.  */
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
                        socklen_t *__restrict __len) __THROW;
+libc_hidden_proto(getsockname)
 
 /* Open a connection on socket FD to peer at ADDR (which LEN bytes long).
    For connectionless socket types, just set the default address to send to
@@ -123,6 +125,7 @@ extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
+libc_hidden_proto(connect)
 
 /* Put the address of the peer connected to socket FD into *ADDR
    (which is *LEN bytes long), and its actual length into *LEN.  */
@@ -135,6 +138,7 @@ extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
+libc_hidden_proto(send)
 
 /* Read N bytes into BUF from socket FD.
    Returns the number read or -1 for errors.
@@ -142,6 +146,7 @@ extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
+libc_hidden_proto(recv)
 
 /* Send N bytes of BUF on socket FD to peer at address ADDR (which is
    ADDR_LEN bytes long).  Returns the number sent, or -1 for errors.
@@ -151,6 +156,7 @@ extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
 extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
                       int __flags, __CONST_SOCKADDR_ARG __addr,
                       socklen_t __addr_len);
+libc_hidden_proto(sendto)
 
 /* Read N bytes into BUF through socket FD.
    If ADDR is not NULL, fill in *ADDR_LEN bytes of it with tha address of
@@ -162,6 +168,7 @@ extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
                         int __flags, __SOCKADDR_ARG __addr,
                         socklen_t *__restrict __addr_len);
+libc_hidden_proto(recvfrom)
 
 
 /* Send a message described MESSAGE on socket FD.
@@ -171,6 +178,7 @@ extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
    __THROW.  */
 extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
                        int __flags);
+libc_hidden_proto(sendmsg)
 
 /* Receive a message as described by MESSAGE from socket FD.
    Returns the number of bytes read or -1 for errors.
@@ -178,6 +186,7 @@ extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
+libc_hidden_proto(recvmsg)
 
 
 /* Put the current value for socket FD's option OPTNAME at protocol level LEVEL
@@ -192,12 +201,14 @@ extern int getsockopt (int __fd, int __level, int __optname,
    Returns 0 on success, -1 for errors.  */
 extern int setsockopt (int __fd, int __level, int __optname,
                       __const void *__optval, socklen_t __optlen) __THROW;
+libc_hidden_proto(setsockopt)
 
 
 /* Prepare to accept connections on socket FD.
    N connection requests will be queued before further requests are refused.
    Returns 0 on success, -1 for errors.  */
 extern int listen (int __fd, int __n) __THROW;
+libc_hidden_proto(listen)
 
 /* Await a connection on socket FD.
    When a connection arrives, open a new socket to communicate with it,
@@ -209,6 +220,7 @@ extern int listen (int __fd, int __n) __THROW;
    __THROW.  */
 extern int accept (int __fd, __SOCKADDR_ARG __addr,
                   socklen_t *__restrict __addr_len);
+libc_hidden_proto(accept)
 
 /* Shut down all or part of the connection open on socket FD.
    HOW determines what to shut down:
index 20d0f4b..b2c87dd 100644 (file)
@@ -228,6 +228,8 @@ extern int __REDIRECT_NTH (fstat, (int __fd, struct stat *__buf), fstat64)
 extern int stat64 (__const char *__restrict __file,
                   struct stat64 *__restrict __buf) __THROW __nonnull ((1, 2));
 extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
+libc_hidden_proto(stat64)
+libc_hidden_proto(fstat64)
 #endif
 
 #ifdef __USE_ATFILE
@@ -275,6 +277,7 @@ extern int __REDIRECT_NTH (lstat,
 extern int lstat64 (__const char *__restrict __file,
                    struct stat64 *__restrict __buf)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(lstat64)
 # endif
 #endif
 
@@ -282,6 +285,7 @@ extern int lstat64 (__const char *__restrict __file,
    If FILE is a symbolic link, this affects its target instead.  */
 extern int chmod (__const char *__file, __mode_t __mode)
      __THROW __nonnull ((1));
+libc_hidden_proto(chmod)
 
 #if 0 /*def __USE_BSD*/
 /* Set file access permissions for FILE to MODE.
@@ -318,6 +322,7 @@ extern __mode_t getumask (void) __THROW;
 /* Create a new directory named PATH, with permission bits MODE.  */
 extern int mkdir (__const char *__path, __mode_t __mode)
      __THROW __nonnull ((1));
+libc_hidden_proto(mkdir)
 
 #ifdef __USE_ATFILE
 /* Like mkdir, create a new directory with permission bits MODE.  But
@@ -333,6 +338,7 @@ extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
 #if defined __USE_MISC || defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
      __THROW __nonnull ((1));
+libc_hidden_proto(mknod)
 #endif
 
 #ifdef __USE_ATFILE
index f4177d4..504be03 100644 (file)
@@ -43,6 +43,7 @@ extern int __REDIRECT_NTH (statfs,
 #ifdef __USE_LARGEFILE64
 extern int statfs64 (__const char *__file, struct statfs64 *__buf)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(statfs64)
 #endif
 
 #if defined __UCLIBC_LINUX_SPECIFIC__
@@ -62,6 +63,7 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
 #ifdef __USE_LARGEFILE64
 extern int fstatfs64 (int __fildes, struct statfs64 *__buf)
      __THROW __nonnull ((2));
+libc_hidden_proto(fstatfs64)
 #endif
 #endif /* __UCLIBC_LINUX_SPECIFIC__ */
 
index 685dd26..e755baf 100644 (file)
@@ -52,6 +52,7 @@ __BEGIN_DECLS
 extern int statvfs (__const char *__restrict __file,
                    struct statvfs *__restrict __buf)
      __THROW __nonnull ((1, 2));
+libc_hidden_proto(statvfs)
 #else
 # ifdef __REDIRECT
 extern int __REDIRECT (statvfs,
@@ -73,6 +74,7 @@ extern int statvfs64 (__const char *__restrict __file,
 #ifndef __USE_FILE_OFFSET64
 extern int fstatvfs (int __fildes, struct statvfs *__buf)
      __THROW __nonnull ((2));
+libc_hidden_proto(fstatvfs)
 #else
 # ifdef __REDIRECT
 extern int __REDIRECT (fstatvfs, (int __fildes, struct statvfs *__buf),
index 3f5e6b2..8fc7688 100644 (file)
@@ -179,12 +179,14 @@ __BEGIN_DECLS
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void closelog (void);
+libc_hidden_proto(closelog)
 
 /* Open connection to system logger.
 
    This function is a possible cancellation point and therefore not
    marked with __THROW.  */
 extern void openlog (__const char *__ident, int __option, int __facility);
+libc_hidden_proto(openlog)
 
 /* Set the log mask level.  */
 extern int setlogmask (int __mask) __THROW;
@@ -195,6 +197,7 @@ extern int setlogmask (int __mask) __THROW;
    marked with __THROW.  */
 extern void syslog (int __pri, __const char *__fmt, ...)
      __attribute__ ((__format__ (__printf__, 2, 3)));
+libc_hidden_proto(syslog)
 
 #ifdef __USE_BSD
 /* Generate a log message using FMT and using arguments pointed to by AP.
@@ -205,6 +208,7 @@ extern void syslog (int __pri, __const char *__fmt, ...)
    therefore not marked with __THROW.  */
 extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
      __attribute__ ((__format__ (__printf__, 2, 0)));
+libc_hidden_proto(vsyslog)
 #endif
 
 __END_DECLS
index 73eeb2a..46b9b56 100644 (file)
@@ -79,6 +79,7 @@ libc_hidden_proto(gettimeofday)
 extern int settimeofday (__const struct timeval *__tv,
                         __const struct timezone *__tz)
      __THROW __nonnull ((1));
+libc_hidden_proto(settimeofday)
 
 /* Adjust the current time of day by the amount in DELTA.
    If OLDDELTA is not NULL, it is filled in with the amount
@@ -133,12 +134,14 @@ extern int getitimer (__itimer_which_t __which,
 extern int setitimer (__itimer_which_t __which,
                      __const struct itimerval *__restrict __new,
                      struct itimerval *__restrict __old) __THROW;
+libc_hidden_proto(setitimer)
 
 /* Change the access time of FILE to TVP[0] and the modification time of
    FILE to TVP[1].  If TVP is a null pointer, use the current time instead.
    Returns 0 on success, -1 on errors.  */
 extern int utimes (__const char *__file, __const struct timeval __tvp[2])
      __THROW __nonnull ((1));
+libc_hidden_proto(utimes)
 
 #if 0 /*def __USE_BSD*/
 /* Same as `utimes', but does not follow symbolic links.  */
index 6022f2f..13535a5 100644 (file)
@@ -47,6 +47,7 @@ struct tms
    Return the elapsed real time, or (clock_t) -1 for errors.
    All times are in CLK_TCKths of a second.  */
 extern clock_t times (struct tms *__buffer) __THROW;
+libc_hidden_proto(times)
 
 __END_DECLS
 
index d2020a6..b4998f5 100644 (file)
@@ -118,6 +118,7 @@ __BEGIN_DECLS
 
 extern int __adjtimex (struct timex *__ntx) __THROW;
 extern int adjtimex (struct timex *__ntx) __THROW;
+libc_hidden_proto(adjtimex)
 
 #if defined __UCLIBC_NTP_LEGACY__
 extern int ntp_gettime (struct ntptimeval *__ntv) __THROW;
index ca195cb..41534d5 100644 (file)
@@ -67,6 +67,7 @@ struct utsname
 
 /* Put information about the system in NAME.  */
 extern int uname (struct utsname *__name) __THROW;
+libc_hidden_proto(uname)
 
 
 __END_DECLS
index 81a54fc..59ccd93 100644 (file)
@@ -137,6 +137,7 @@ extern __pid_t wait (__WAIT_STATUS __stat_loc);
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options);
+libc_hidden_proto(waitpid)
 
 #if defined __USE_SVID || defined __USE_XOPEN
 # define __need_siginfo_t
@@ -178,6 +179,7 @@ struct rusage;
 /* PID is like waitpid.  Other args are like wait3.  */
 extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options,
                      struct rusage *__usage) __THROW;
+libc_hidden_proto(wait4)
 #endif /* Use BSD.  */
 
 
index 9698b1f..512e584 100644 (file)
@@ -53,9 +53,11 @@ extern speed_t cfgetispeed (__const struct termios *__termios_p) __THROW;
 
 /* Set the output baud rate stored in *TERMIOS_P to SPEED.  */
 extern int cfsetospeed (struct termios *__termios_p, speed_t __speed) __THROW;
+libc_hidden_proto(cfsetospeed)
 
 /* Set the input baud rate stored in *TERMIOS_P to SPEED.  */
 extern int cfsetispeed (struct termios *__termios_p, speed_t __speed) __THROW;
+libc_hidden_proto(cfsetispeed)
 
 #ifdef __USE_BSD
 /* Set both the input and output baud rates in *TERMIOS_OP to SPEED.  */
@@ -65,11 +67,13 @@ extern int cfsetspeed (struct termios *__termios_p, speed_t __speed) __THROW;
 
 /* Put the state of FD into *TERMIOS_P.  */
 extern int tcgetattr (int __fd, struct termios *__termios_p) __THROW;
+libc_hidden_proto(tcgetattr)
 
 /* Set the state of FD to *TERMIOS_P.
    Values for OPTIONAL_ACTIONS (TCSA*) are in <bits/termios.h>.  */
 extern int tcsetattr (int __fd, int __optional_actions,
                      __const struct termios *__termios_p) __THROW;
+libc_hidden_proto(tcsetattr)
 
 
 #ifdef __USE_BSD
index 25e00f6..a96fcae 100644 (file)
@@ -205,6 +205,7 @@ extern time_t mktime (struct tm *__tp) __THROW;
 extern size_t strftime (char *__restrict __s, size_t __maxsize,
                        __const char *__restrict __format,
                        __const struct tm *__restrict __tp) __THROW;
+libc_hidden_proto(strftime)
 __END_NAMESPACE_STD
 
 # ifdef __USE_XOPEN
@@ -213,6 +214,7 @@ __END_NAMESPACE_STD
 extern char *strptime (__const char *__restrict __s,
                       __const char *__restrict __fmt, struct tm *__tp)
      __THROW;
+libc_hidden_proto(strptime)
 # endif
 
 #ifdef __UCLIBC_HAS_XLOCALE__
@@ -225,10 +227,12 @@ extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
                          __const char *__restrict __format,
                          __const struct tm *__restrict __tp,
                          __locale_t __loc) __THROW;
+libc_hidden_proto(strftime_l)
 
 extern char *strptime_l (__const char *__restrict __s,
                         __const char *__restrict __fmt, struct tm *__tp,
                         __locale_t __loc) __THROW;
+libc_hidden_proto(strptime_l)
 # endif
 #endif
 
@@ -241,6 +245,7 @@ extern struct tm *gmtime (__const time_t *__timer) __THROW;
 /* Return the `struct tm' representation
    of *TIMER in the local timezone.  */
 extern struct tm *localtime (__const time_t *__timer) __THROW;
+libc_hidden_proto(localtime)
 __END_NAMESPACE_STD
 
 # if defined __USE_POSIX || defined __USE_MISC
@@ -253,15 +258,18 @@ extern struct tm *gmtime_r (__const time_t *__restrict __timer,
    using *TP to store the result.  */
 extern struct tm *localtime_r (__const time_t *__restrict __timer,
                               struct tm *__restrict __tp) __THROW;
+libc_hidden_proto(localtime_r)
 # endif        /* POSIX or misc */
 
 __BEGIN_NAMESPACE_STD
 /* Return a string of the form "Day Mon dd hh:mm:ss yyyy\n"
    that is the representation of TP in this format.  */
 extern char *asctime (__const struct tm *__tp) __THROW;
+libc_hidden_proto(asctime)
 
 /* Equivalent to `asctime (localtime (timer))'.  */
 extern char *ctime (__const time_t *__timer) __THROW;
+libc_hidden_proto(ctime)
 __END_NAMESPACE_STD
 
 # if defined __USE_POSIX || defined __USE_MISC
@@ -271,6 +279,7 @@ __END_NAMESPACE_STD
    that is the representation of TP in this format.  */
 extern char *asctime_r (__const struct tm *__restrict __tp,
                        char *__restrict __buf) __THROW;
+libc_hidden_proto(asctime_r)
 
 /* Equivalent to `asctime_r (localtime_r (timer, *TMP*), buf)'.  */
 extern char *ctime_r (__const time_t *__restrict __timer,
@@ -294,6 +303,7 @@ extern char *tzname[2];
 /* Set time conversion information from the TZ environment variable.
    If TZ is not defined, a locale-dependent default is used.  */
 extern void tzset (void) __THROW;
+libc_hidden_proto(tzset)
 # endif
 
 # if defined __USE_SVID || defined __USE_XOPEN
@@ -337,6 +347,7 @@ extern int dysize (int __year) __THROW  __attribute__ ((__const__));
    __THROW.  */
 extern int nanosleep (__const struct timespec *__requested_time,
                      struct timespec *__remaining);
+libc_hidden_proto(nanosleep)
 
 
 /* Get resolution of clock CLOCK_ID.  */
index 0b221bc..ae20823 100644 (file)
@@ -56,9 +56,12 @@ struct ttyent {
 __BEGIN_DECLS
 
 extern struct ttyent *getttyent (void) __THROW;
+libc_hidden_proto(getttyent)
 extern struct ttyent *getttynam (__const char *__tty) __THROW;
 extern int setttyent (void) __THROW;
+libc_hidden_proto(setttyent)
 extern int endttyent (void) __THROW;
+libc_hidden_proto(endttyent)
 
 __END_DECLS
 
index 2052a12..d028fbd 100644 (file)
@@ -310,6 +310,7 @@ extern __off64_t __REDIRECT_NTH (lseek,
 #ifdef __USE_LARGEFILE64
 extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
      __THROW;
+libc_hidden_proto(lseek64)
 #endif
 
 /* Close the file descriptor FD.
@@ -384,6 +385,7 @@ extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
    bytes written on PIPEDES[1] can be read from PIPEDES[0].
    Returns 0 if successful, -1 if not.  */
 extern int pipe (int __pipedes[2]) __THROW __wur;
+libc_hidden_proto(pipe)
 
 /* Schedule an alarm.  In SECONDS seconds, the process will get a SIGALRM.
    If SECONDS is zero, any currently scheduled alarm will be cancelled.
@@ -393,6 +395,7 @@ extern int pipe (int __pipedes[2]) __THROW __wur;
    to 0 and check its value after calling `alarm', and this might tell you.
    The signal may come late due to processor scheduling.  */
 extern unsigned int alarm (unsigned int __seconds) __THROW;
+libc_hidden_proto(alarm)
 
 /* Make the process sleep for SECONDS seconds, or until a signal arrives
    and is not ignored.  The function returns the number of seconds less
@@ -405,6 +408,7 @@ extern unsigned int alarm (unsigned int __seconds) __THROW;
    This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern unsigned int sleep (unsigned int __seconds);
+libc_hidden_proto(sleep)
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 /* Set an alarm to go off (generating a SIGALRM signal) in VALUE
@@ -434,6 +438,7 @@ extern int pause (void);
 /* Change the owner and group of FILE.  */
 extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(chown)
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 /* Change the owner and group of the file that FD is open on.  */
@@ -457,10 +462,12 @@ extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
 
 /* Change the process's working directory to PATH.  */
 extern int chdir (__const char *__path) __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(chdir)
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 /* Change the process's working directory to the one FD is open on.  */
 extern int fchdir (int __fd) __THROW __wur;
+libc_hidden_proto(fchdir)
 #endif
 
 /* Get the pathname of the current working directory,
@@ -471,6 +478,7 @@ extern int fchdir (int __fd) __THROW __wur;
    bytes long, unless SIZE == 0, in which case it is as
    big as necessary.  */
 extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
+libc_hidden_proto(getcwd)
 
 #ifdef __USE_GNU
 /* Return a malloc'd string containing the current directory name.
@@ -493,6 +501,7 @@ extern int dup (int __fd) __THROW __wur;
 
 /* Duplicate FD to FD2, closing FD2 and making it open on the same file.  */
 extern int dup2 (int __fd, int __fd2) __THROW;
+libc_hidden_proto(dup2)
 
 /* NULL-terminated array of "NAME=VALUE" environment variables.  */
 extern char **__environ;
@@ -505,6 +514,7 @@ extern char **environ;
    environment ENVP.  ARGV and ENVP are terminated by NULL pointers.  */
 extern int execve (__const char *__path, char *__const __argv[],
                   char *__const __envp[]) __THROW __nonnull ((1));
+libc_hidden_proto(execve)
 
 #if 0 /*def __USE_GNU*/
 /* Execute the file FD refers to, overlaying the running program image.
@@ -517,27 +527,32 @@ extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
 /* Execute PATH with arguments ARGV and environment from `environ'.  */
 extern int execv (__const char *__path, char *__const __argv[])
      __THROW __nonnull ((1));
+libc_hidden_proto(execv)
 
 /* Execute PATH with all arguments after PATH until a NULL pointer,
    and the argument after that for environment.  */
 extern int execle (__const char *__path, __const char *__arg, ...)
      __THROW __nonnull ((1));
+libc_hidden_proto(execle)
 
 /* Execute PATH with all arguments after PATH until
    a NULL pointer and environment from `environ'.  */
 extern int execl (__const char *__path, __const char *__arg, ...)
      __THROW __nonnull ((1));
+libc_hidden_proto(execl)
 
 /* Execute FILE, searching in the `PATH' environment variable if it contains
    no slashes, with arguments ARGV and environment from `environ'.  */
 extern int execvp (__const char *__file, char *__const __argv[])
      __THROW __nonnull ((1));
+libc_hidden_proto(execvp)
 
 /* Execute FILE, searching in the `PATH' environment variable if
    it contains no slashes, with all arguments after FILE until a
    NULL pointer and environment from `environ'.  */
 extern int execlp (__const char *__file, __const char *__arg, ...)
      __THROW __nonnull ((1));
+libc_hidden_proto(execlp)
 
 
 #if defined __USE_MISC || defined __USE_XOPEN
@@ -565,6 +580,7 @@ extern long int fpathconf (int __fd, int __name) __THROW;
 
 /* Get the value of the system variable NAME.  */
 extern long int sysconf (int __name) __THROW;
+libc_hidden_proto(sysconf)
 
 #ifdef __USE_POSIX2
 /* Get the value of the string-valued system variable NAME.  */
@@ -602,6 +618,7 @@ extern __pid_t getpgid (__pid_t __pid) __THROW;
    If PID is zero, the current process's process group ID is set.
    If PGID is zero, the process ID of the process is used.  */
 extern int setpgid (__pid_t __pid, __pid_t __pgid) __THROW;
+libc_hidden_proto(setpgid)
 
 #if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED
 /* Both System V and BSD have `setpgrp' functions, but with different
@@ -636,28 +653,35 @@ extern int __REDIRECT_NTH (setpgrp, (__pid_t __pid, __pid_t __pgrp), setpgid);
    The process group IDs of the session and the calling process
    are set to the process ID of the calling process, which is returned.  */
 extern __pid_t setsid (void) __THROW;
+libc_hidden_proto(setsid)
 
 #ifdef __USE_XOPEN_EXTENDED
 /* Return the session ID of the given process.  */
 extern __pid_t getsid (__pid_t __pid) __THROW;
+libc_hidden_proto(getsid)
 #endif
 
 /* Get the real user ID of the calling process.  */
 extern __uid_t getuid (void) __THROW;
+libc_hidden_proto(getuid)
 
 /* Get the effective user ID of the calling process.  */
 extern __uid_t geteuid (void) __THROW;
+libc_hidden_proto(geteuid)
 
 /* Get the real group ID of the calling process.  */
 extern __gid_t getgid (void) __THROW;
+libc_hidden_proto(getgid)
 
 /* Get the effective group ID of the calling process.  */
 extern __gid_t getegid (void) __THROW;
+libc_hidden_proto(getegid)
 
 /* If SIZE is zero, return the number of supplementary groups
    the calling process is in.  Otherwise, fill in the group IDs
    of its supplementary groups in LIST and return the number written.  */
 extern int getgroups (int __size, __gid_t __list[]) __THROW __wur;
+libc_hidden_proto(getgroups)
 
 #if 0 /*def    __USE_GNU*/
 /* Return nonzero iff the calling process is in group GID.  */
@@ -674,11 +698,13 @@ extern int setuid (__uid_t __uid) __THROW;
 /* Set the real user ID of the calling process to RUID,
    and the effective user ID of the calling process to EUID.  */
 extern int setreuid (__uid_t __ruid, __uid_t __euid) __THROW;
+libc_hidden_proto(setreuid)
 #endif
 
 #if defined __USE_BSD || defined __USE_XOPEN2K
 /* Set the effective user ID of the calling process to UID.  */
 extern int seteuid (__uid_t __uid) __THROW;
+libc_hidden_proto(seteuid)
 #endif /* Use BSD.  */
 
 /* Set the group ID of the calling process to GID.
@@ -691,6 +717,7 @@ extern int setgid (__gid_t __gid) __THROW;
 /* Set the real group ID of the calling process to RGID,
    and the effective group ID of the calling process to EGID.  */
 extern int setregid (__gid_t __rgid, __gid_t __egid) __THROW;
+libc_hidden_proto(setregid)
 #endif
 
 #if defined __USE_BSD || defined __USE_XOPEN2K
@@ -714,12 +741,14 @@ extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
    of the calling process to RUID, EUID, and SUID, respectively.  */
 extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
      __THROW;
+libc_hidden_proto(setresuid)
 #endif
 
 /* Set the real group ID, effective group ID, and saved-set group ID,
    of the calling process to RGID, EGID, and SGID, respectively.  */
 extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
      __THROW;
+libc_hidden_proto(setresgid)
 #endif
 
 
@@ -728,6 +757,7 @@ extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
    Return -1 for errors, 0 to the new process,
    and the process ID of the new process to the old process.  */
 extern __pid_t fork (void) __THROW;
+libc_hidden_proto(fork)
 #endif
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
@@ -736,6 +766,7 @@ extern __pid_t fork (void) __THROW;
    replaced by a call to `execve'.  Return -1 for errors, 0 to the new process,
    and the process ID of the new process to the old process.  */
 extern __pid_t vfork (void) __THROW;
+libc_hidden_proto(vfork)
 #endif /* Use BSD. */
 
 
@@ -747,10 +778,13 @@ extern char *ttyname (int __fd) __THROW;
    open on in BUF.  Return 0 on success, otherwise an error number.  */
 extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
      __THROW __nonnull ((2)) __wur;
+libc_hidden_proto(ttyname_r)
 
 /* Return 1 if FD is a valid descriptor associated
    with a terminal, zero if not.  */
 extern int isatty (int __fd) __THROW;
+libc_hidden_proto(isatty)
+
 
 #if 0 /*defined __USE_BSD \
     || (defined __USE_XOPEN_EXTENDED && !defined __USE_UNIX98)*/
@@ -783,6 +817,7 @@ extern int symlink (__const char *__from, __const char *__to)
 extern ssize_t readlink (__const char *__restrict __path,
                         char *__restrict __buf, size_t __len)
      __THROW __nonnull ((1, 2)) __wur;
+libc_hidden_proto(readlink)
 #endif /* Use BSD.  */
 
 #ifdef __USE_ATFILE
@@ -798,6 +833,7 @@ extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
 
 /* Remove the link NAME.  */
 extern int unlink (__const char *__name) __THROW __nonnull ((1));
+libc_hidden_proto(unlink)
 
 #ifdef __USE_ATFILE
 /* Remove the link NAME relative to FD.  */
@@ -807,10 +843,12 @@ extern int unlinkat (int __fd, __const char *__name, int __flag)
 
 /* Remove the directory PATH.  */
 extern int rmdir (__const char *__path) __THROW __nonnull ((1));
+libc_hidden_proto(rmdir)
 
 
 /* Return the foreground process group ID of FD.  */
 extern __pid_t tcgetpgrp (int __fd) __THROW;
+libc_hidden_proto(tcgetpgrp)
 
 /* Set the foreground process group ID of FD set PGRP_ID.  */
 extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
@@ -821,6 +859,7 @@ extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
 extern char *getlogin (void);
+libc_hidden_proto(getlogin)
 #if defined __USE_REENTRANT || defined __USE_POSIX199506
 /* Return at most NAME_LEN characters of the login name of the user in NAME.
    If it cannot be determined or some other error occurred, return the error
@@ -852,6 +891,7 @@ extern int setlogin (__const char *__name) __THROW __nonnull ((1));
    The result is null-terminated if LEN is large enough for the full
    name and the terminator.  */
 extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
+libc_hidden_proto(gethostname)
 #endif
 
 
@@ -871,6 +911,7 @@ extern int sethostid (long int __id) __THROW __wur;
    The NIS domain name is usually the empty string when not using NIS.  */
 extern int getdomainname (char *__name, size_t __len)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(getdomainname)
 extern int setdomainname (__const char *__name, size_t __len)
      __THROW __nonnull ((1)) __wur;
 #endif
@@ -951,17 +992,20 @@ extern void sync (void) __THROW;
 /* Return the number of bytes in a page.  This is the system's page size,
    which is not necessarily the same as the hardware page size.  */
 extern int getpagesize (void)  __THROW __attribute__ ((__const__));
+libc_hidden_proto(getpagesize)
 
 
 /* Return the maximum number of file descriptors
    the current process could possibly have.  */
 extern int getdtablesize (void) __THROW;
+libc_hidden_proto(getdtablesize)
 
 
 /* Truncate FILE to LENGTH bytes.  */
 # ifndef __USE_FILE_OFFSET64
 extern int truncate (__const char *__file, __off_t __length)
      __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(truncate)
 # else
 #  ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (truncate,
@@ -983,6 +1027,7 @@ extern int truncate64 (__const char *__file, __off64_t __length)
 /* Truncate the file FD is open on to LENGTH bytes.  */
 # ifndef __USE_FILE_OFFSET64
 extern int ftruncate (int __fd, __off_t __length) __THROW __wur;
+libc_hidden_proto(ftruncate)
 # else
 #  ifdef __REDIRECT_NTH
 extern int __REDIRECT_NTH (ftruncate, (int __fd, __off64_t __length),
@@ -993,6 +1038,7 @@ extern int __REDIRECT_NTH (ftruncate, (int __fd, __off64_t __length),
 # endif
 # ifdef __USE_LARGEFILE64
 extern int ftruncate64 (int __fd, __off64_t __length) __THROW __wur;
+libc_hidden_proto(ftruncate64)
 # endif
 
 #endif /* Use BSD || X/Open Unix || POSIX 2003.  */
@@ -1049,6 +1095,7 @@ extern long int syscall (long int __sysno, ...) __THROW;
 
 # ifndef __USE_FILE_OFFSET64
 extern int lockf (int __fd, int __cmd, __off_t __len) __wur;
+libc_hidden_proto(lockf)
 # else
 #  ifdef __REDIRECT
 extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len),
@@ -1059,6 +1106,7 @@ extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len),
 # endif
 # ifdef __USE_LARGEFILE64
 extern int lockf64 (int __fd, int __cmd, __off64_t __len) __wur;
+libc_hidden_proto(lockf64)
 # endif
 #endif /* Use misc and F_LOCK not already defined.  */
 
index dd5d265..95942d7 100644 (file)
@@ -46,6 +46,7 @@ struct utimbuf
 extern int utime (__const char *__file,
                  __const struct utimbuf *__file_times)
      __THROW __nonnull ((1));
+libc_hidden_proto(utime)
 
 __END_DECLS
 
index 585aad1..c198ede 100644 (file)
@@ -64,6 +64,7 @@ extern struct utmp *getutent (void) __THROW;
 
 /* Reset the input stream to the beginning of the file.  */
 extern void setutent (void) __THROW;
+libc_hidden_proto(setutent)
 
 /* Close the current open file.  */
 extern void endutent (void) __THROW;
@@ -71,6 +72,7 @@ extern void endutent (void) __THROW;
 /* Search forward from the current point in the utmp file until the
    next entry with a ut_type matching ID->ut_type.  */
 extern struct utmp *getutid (__const struct utmp *__id) __THROW;
+libc_hidden_proto(getutid)
 
 /* Search forward from the current point in the utmp file until the
    next entry with a ut_line matching LINE->ut_line.  */
index da6edae..eb09cf9 100644 (file)
@@ -152,6 +152,7 @@ extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
 /* Append SRC onto DEST.  */
 extern wchar_t *wcscat (wchar_t *__restrict __dest,
                        __const wchar_t *__restrict __src) __THROW;
+libc_hidden_proto(wcscat)
 /* Append no more than N wide-characters of SRC onto DEST.  */
 extern wchar_t *wcsncat (wchar_t *__restrict __dest,
                         __const wchar_t *__restrict __src, size_t __n)
@@ -160,6 +161,7 @@ extern wchar_t *wcsncat (wchar_t *__restrict __dest,
 /* Compare S1 and S2.  */
 extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2)
      __THROW __attribute_pure__;
+libc_hidden_proto(wcscmp)
 /* Compare N wide-characters of S1 and S2.  */
 extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
      __THROW __attribute_pure__;
@@ -168,10 +170,12 @@ __END_NAMESPACE_C99
 #ifdef __USE_GNU
 /* Compare S1 and S2, ignoring case.  */
 extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __THROW;
+libc_hidden_proto(wcscasecmp)
 
 /* Compare no more than N chars of S1 and S2, ignoring case.  */
 extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
                        size_t __n) __THROW;
+libc_hidden_proto(wcsncasecmp)
 
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* Similar to the two functions above but take the information from
@@ -180,9 +184,11 @@ extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
 
 extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
                         __locale_t __loc) __THROW;
+libc_hidden_proto(wcscasecmp_l)
 
 extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
                          size_t __n, __locale_t __loc) __THROW;
+libc_hidden_proto(wcsncasecmp_l)
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif
 
@@ -190,11 +196,13 @@ __BEGIN_NAMESPACE_C99
 /* Compare S1 and S2, both interpreted as appropriate to the
    LC_COLLATE category of the current locale.  */
 extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) __THROW;
+libc_hidden_proto(wcscoll)
 /* Transform S2 into array pointed to by S1 such that if wcscmp is
    applied to two transformed strings the result is the as applying
    `wcscoll' to the original strings.  */
 extern size_t wcsxfrm (wchar_t *__restrict __s1,
                       __const wchar_t *__restrict __s2, size_t __n) __THROW;
+libc_hidden_proto(wcsxfrm)
 __END_NAMESPACE_C99
 
 #ifdef __USE_GNU
@@ -206,12 +214,14 @@ __END_NAMESPACE_C99
    LC_COLLATE category of the given locale.  */
 extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
                      __locale_t __loc) __THROW;
+libc_hidden_proto(wcscoll_l)
 
 /* Transform S2 into array pointed to by S1 such that if wcscmp is
    applied to two transformed strings the result is the as applying
    `wcscoll' to the original strings.  */
 extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
                         size_t __n, __locale_t __loc) __THROW;
+libc_hidden_proto(wcsxfrm_l)
 
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 
@@ -244,9 +254,11 @@ extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject)
    consists entirely of wide characters in  ACCEPT.  */
 extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept)
      __THROW __attribute_pure__;
+libc_hidden_proto(wcsspn)
 /* Find the first occurrence in WCS of any character in ACCEPT.  */
 extern wchar_t *wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept)
      __THROW __attribute_pure__;
+libc_hidden_proto(wcspbrk)
 /* Find the first occurrence of NEEDLE in HAYSTACK.  */
 extern wchar_t *wcsstr (__const wchar_t *__haystack, __const wchar_t *__needle)
      __THROW __attribute_pure__;
@@ -258,6 +270,7 @@ extern wchar_t *wcstok (wchar_t *__restrict __s,
 
 /* Return the number of wide characters in S.  */
 extern size_t wcslen (__const wchar_t *__s) __THROW __attribute_pure__;
+libc_hidden_proto(wcslen)
 __END_NAMESPACE_C99
 
 #ifdef __USE_XOPEN
@@ -270,6 +283,7 @@ extern wchar_t *wcswcs (__const wchar_t *__haystack, __const wchar_t *__needle)
 /* Return the number of wide characters in S, but at most MAXLEN.  */
 extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen)
      __THROW __attribute_pure__;
+libc_hidden_proto(wcsnlen)
 #endif
 
 
@@ -277,6 +291,7 @@ __BEGIN_NAMESPACE_C99
 /* Search N wide characters of S for C.  */
 extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n)
      __THROW __attribute_pure__;
+libc_hidden_proto(wmemchr)
 
 /* Compare N wide characters of S1 and S2.  */
 extern int wmemcmp (__const wchar_t *__restrict __s1,
@@ -286,6 +301,7 @@ extern int wmemcmp (__const wchar_t *__restrict __s1,
 /* Copy N wide characters of SRC to DEST.  */
 extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
                         __const wchar_t *__restrict __s2, size_t __n) __THROW;
+libc_hidden_proto(wmemcpy)
 
 /* Copy N wide characters of SRC to DEST, guaranteeing
    correct behavior for overlapping strings.  */
@@ -302,6 +318,7 @@ __END_NAMESPACE_C99
 extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
                          __const wchar_t *__restrict __s2, size_t __n)
      __THROW;
+libc_hidden_proto(wmempcpy)
 #endif
 
 
@@ -309,6 +326,7 @@ __BEGIN_NAMESPACE_C99
 /* Determine whether C constitutes a valid (one-byte) multibyte
    character.  */
 extern wint_t btowc (int __c) __THROW;
+libc_hidden_proto(btowc)
 
 /* Determine whether C corresponds to a member of the extended
    character set whose multibyte representation is a single byte.  */
@@ -317,16 +335,19 @@ extern int wctob (wint_t __c) __THROW;
 /* Determine whether PS points to an object representing the initial
    state.  */
 extern int mbsinit (__const mbstate_t *__ps) __THROW __attribute_pure__;
+libc_hidden_proto(mbsinit)
 
 /* Write wide character representation of multibyte character pointed
    to by S to PWC.  */
 extern size_t mbrtowc (wchar_t *__restrict __pwc,
                       __const char *__restrict __s, size_t __n,
                       mbstate_t *__p) __THROW;
+libc_hidden_proto(mbrtowc)
 
 /* Write multibyte representation of wide character WC to S.  */
 extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
                       mbstate_t *__restrict __ps) __THROW;
+libc_hidden_proto(wcrtomb)
 
 /* Return number of bytes in multibyte character pointed to by S.  */
 #if 0 /* uClibc: disabled */
@@ -335,18 +356,21 @@ extern size_t __mbrlen (__const char *__restrict __s, size_t __n,
 #endif
 extern size_t mbrlen (__const char *__restrict __s, size_t __n,
                      mbstate_t *__restrict __ps) __THROW;
+libc_hidden_proto(mbrlen)
 
 /* Write wide character representation of multibyte character string
    SRC to DST.  */
 extern size_t mbsrtowcs (wchar_t *__restrict __dst,
                         __const char **__restrict __src, size_t __len,
                         mbstate_t *__restrict __ps) __THROW;
+libc_hidden_proto(mbsrtowcs)
 
 /* Write multibyte character representation of wide character string
    SRC to DST.  */
 extern size_t wcsrtombs (char *__restrict __dst,
                         __const wchar_t **__restrict __src, size_t __len,
                         mbstate_t *__restrict __ps) __THROW;
+libc_hidden_proto(wcsrtombs)
 __END_NAMESPACE_C99
 
 
@@ -356,6 +380,7 @@ __END_NAMESPACE_C99
 extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
                          __const char **__restrict __src, size_t __nmc,
                          size_t __len, mbstate_t *__restrict __ps) __THROW;
+libc_hidden_proto(mbsnrtowcs)
 
 /* Write multibyte character representation of at most NWC characters
    from the wide character string SRC to DST.  */
@@ -363,6 +388,7 @@ extern size_t wcsnrtombs (char *__restrict __dst,
                          __const wchar_t **__restrict __src,
                          size_t __nwc, size_t __len,
                          mbstate_t *__restrict __ps) __THROW;
+libc_hidden_proto(wcsnrtombs)
 #endif /* use GNU */
 
 
@@ -374,6 +400,7 @@ extern int wcwidth (wchar_t __c) __THROW;
 /* Determine number of column positions required for first N wide
    characters (or fewer if S ends before this) in S.  */
 extern int wcswidth (__const wchar_t *__s, size_t __n) __THROW;
+libc_hidden_proto(wcswidth)
 #endif /* Use X/Open.  */
 
 
@@ -540,6 +567,7 @@ extern int vfwprintf (__FILE *__restrict __s,
                      __const wchar_t *__restrict __format,
                      __gnuc_va_list __arg)
      /* __attribute__ ((__format__ (__wprintf__, 2, 0))) */;
+libc_hidden_proto(vfwprintf)
 /* Write formatted output to stdout from argument list ARG.
 
    This function is a possible cancellation point and therefore not
@@ -553,6 +581,7 @@ extern int vswprintf (wchar_t *__restrict __s, size_t __n,
                      __const wchar_t *__restrict __format,
                      __gnuc_va_list __arg)
      __THROW /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
+libc_hidden_proto(vswprintf)
 
 
 /* Read formatted input from STREAM.
@@ -587,6 +616,7 @@ extern int vfwscanf (__FILE *__restrict __s,
                     __const wchar_t *__restrict __format,
                     __gnuc_va_list __arg)
      /* __attribute__ ((__format__ (__wscanf__, 2, 0))) */;
+libc_hidden_proto(vfwscanf)
 /* Read formatted input from stdin into argument list ARG.
 
    This function is a possible cancellation point and therefore not
@@ -599,6 +629,7 @@ extern int vswscanf (__const wchar_t *__restrict __s,
                     __const wchar_t *__restrict __format,
                     __gnuc_va_list __arg)
      __THROW /* __attribute__ ((__format__ (__wscanf__, 2, 0))) */;
+libc_hidden_proto(vswscanf)
 
 __END_NAMESPACE_C99
 #endif /* Use ISO C99. */
@@ -610,6 +641,7 @@ __BEGIN_NAMESPACE_C99
    These functions are possible cancellation points and therefore not
    marked with __THROW.  */
 extern wint_t fgetwc (__FILE *__stream);
+libc_hidden_proto(fgetwc)
 extern wint_t getwc (__FILE *__stream);
 
 /* Read a character from stdin.
@@ -647,6 +679,7 @@ extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
    marked with __THROW.  */
 extern int fputws (__const wchar_t *__restrict __ws,
                   __FILE *__restrict __stream);
+libc_hidden_proto(fputws)
 
 
 /* Push a character back onto the input buffer of STREAM.
@@ -654,6 +687,7 @@ extern int fputws (__const wchar_t *__restrict __ws,
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
 extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
+libc_hidden_proto(ungetwc)
 __END_NAMESPACE_C99
 
 
@@ -675,6 +709,7 @@ extern wint_t getwchar_unlocked (void);
    or due to the implementation it is a cancellation point and
    therefore not marked with __THROW.  */
 extern wint_t fgetwc_unlocked (__FILE *__stream);
+libc_hidden_proto(fgetwc_unlocked)
 
 /* Faster version when locking is not necessary.
 
@@ -683,6 +718,7 @@ extern wint_t fgetwc_unlocked (__FILE *__stream);
    or due to the implementation it is a cancellation point and
    therefore not marked with __THROW.  */
 extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream);
+libc_hidden_proto(fputwc_unlocked)
 
 /* These are defined to be equivalent to the `char' functions defined
    in POSIX.1:1996.
@@ -703,6 +739,7 @@ extern wint_t putwchar_unlocked (wchar_t __wc);
    therefore not marked with __THROW.  */
 extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
                                 __FILE *__restrict __stream);
+libc_hidden_proto(fgetws_unlocked)
 
 /* This function does the same as `fputws' but does not lock the stream.
 
@@ -712,6 +749,7 @@ extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
    therefore not marked with __THROW.  */
 extern int fputws_unlocked (__const wchar_t *__restrict __ws,
                            __FILE *__restrict __stream);
+libc_hidden_proto(fputws_unlocked)
 #endif
 
 
@@ -722,6 +760,7 @@ __BEGIN_NAMESPACE_C99
 extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
                        __const wchar_t *__restrict __format,
                        __const struct tm *__restrict __tp) __THROW;
+libc_hidden_proto(wcsftime)
 __END_NAMESPACE_C99
 
 # if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__
@@ -733,6 +772,7 @@ extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
                          __const wchar_t *__restrict __format,
                          __const struct tm *__restrict __tp,
                          __locale_t __loc) __THROW;
+libc_hidden_proto(wcsftime_l)
 # endif
 
 /* The X/Open standard demands that most of the functions defined in
index 266ffab..7b697d2 100644 (file)
@@ -120,6 +120,7 @@ __BEGIN_NAMESPACE_C99
 /* Test for any wide character for which `iswalpha' or `iswdigit' is
    true.  */
 extern int iswalnum (wint_t __wc) __THROW;
+libc_hidden_proto(iswalnum)
 
 /* Test for any wide character for which `iswupper' or 'iswlower' is
    true, or any wide character that is one of a locale-specific set of
@@ -142,6 +143,7 @@ extern int iswgraph (wint_t __wc) __THROW;
    or is one of a locale-specific set of wide characters for which
    none of `iswcntrl', `iswdigit', `iswpunct', or `iswspace' is true.  */
 extern int iswlower (wint_t __wc) __THROW;
+libc_hidden_proto(iswlower)
 
 /* Test for any printing wide character.  */
 extern int iswprint (wint_t __wc) __THROW;
@@ -160,6 +162,7 @@ extern int iswspace (wint_t __wc) __THROW;
    or is one of a locale-specific set of wide character for which none
    of `iswcntrl', `iswdigit', `iswpunct', or `iswspace' is true.  */
 extern int iswupper (wint_t __wc) __THROW;
+libc_hidden_proto(iswspace)
 
 /* Test for any wide character that corresponds to a hexadecimal-digit
    character equivalent to that performed be the functions described
@@ -180,10 +183,12 @@ extern int iswblank (wint_t __wc) __THROW;
 /* Construct value that describes a class of wide characters identified
    by the string argument PROPERTY.  */
 extern wctype_t wctype (__const char *__property) __THROW;
+libc_hidden_proto(wctype)
 
 /* Determine whether the wide-character WC has the property described by
    DESC.  */
 extern int iswctype (wint_t __wc, wctype_t __desc) __THROW;
+libc_hidden_proto(iswctype)
 __END_NAMESPACE_C99
 
 
@@ -204,9 +209,11 @@ __USING_NAMESPACE_C99(wctrans_t)
 __BEGIN_NAMESPACE_C99
 /* Converts an uppercase letter to the corresponding lowercase letter.  */
 extern wint_t towlower (wint_t __wc) __THROW;
+libc_hidden_proto(towlower)
 
 /* Converts an lowercase letter to the corresponding uppercase letter.  */
 extern wint_t towupper (wint_t __wc) __THROW;
+libc_hidden_proto(towupper)
 __END_NAMESPACE_C99
 
 __END_DECLS
@@ -228,9 +235,11 @@ __BEGIN_NAMESPACE_C99
 /* Construct value that describes a mapping between wide characters
    identified by the string argument PROPERTY.  */
 extern wctrans_t wctrans (__const char *__property) __THROW;
+libc_hidden_proto(wctrans)
 
 /* Map the wide character WC using the mapping described by DESC.  */
 extern wint_t towctrans (wint_t __wc, wctrans_t __desc) __THROW;
+libc_hidden_proto(towctrans)
 __END_NAMESPACE_C99
 
 #if defined(__USE_GNU) && defined(__UCLIBC_HAS_XLOCALE__)
@@ -275,6 +284,7 @@ extern int iswpunct_l (wint_t __wc, __locale_t __locale) __THROW;
    set of wide characters for which none of `iswalnum', `iswgraph', or
    `iswpunct' is true.  */
 extern int iswspace_l (wint_t __wc, __locale_t __locale) __THROW;
+libc_hidden_proto(iswspace_l)
 
 /* Test for any wide character that corresponds to an uppercase letter
    or is one of a locale-specific set of wide character for which none
@@ -295,11 +305,13 @@ extern int iswblank_l (wint_t __wc, __locale_t __locale) __THROW;
    by the string argument PROPERTY.  */
 extern wctype_t wctype_l (__const char *__property, __locale_t __locale)
      __THROW;
+libc_hidden_proto(wctype_l)
 
 /* Determine whether the wide-character WC has the property described by
    DESC.  */
 extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale)
      __THROW;
+libc_hidden_proto(iswctype_l)
 
 
 /*
@@ -308,9 +320,11 @@ extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale)
 
 /* Converts an uppercase letter to the corresponding lowercase letter.  */
 extern wint_t towlower_l (wint_t __wc, __locale_t __locale) __THROW;
+libc_hidden_proto(towlower_l)
 
 /* Converts an lowercase letter to the corresponding uppercase letter.  */
 extern wint_t towupper_l (wint_t __wc, __locale_t __locale) __THROW;
+libc_hidden_proto(towupper_l)
 
 /* Construct value that describes a mapping between wide characters
    identified by the string argument PROPERTY.  */
@@ -320,6 +334,7 @@ extern wctrans_t wctrans_l (__const char *__property, __locale_t __locale)
 /* Map the wide character WC using the mapping described by DESC.  */
 extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
                           __locale_t __locale) __THROW;
+libc_hidden_proto(towctrans_l)
 
 # endif /* Use GNU.  */
 
index 1c40e61..f542e92 100644 (file)
@@ -65,6 +65,7 @@ extern int wordexp (__const char *__restrict __words,
 
 /* Free the storage allocated by a `wordexp' call.  */
 extern void wordfree (wordexp_t *__wordexp) __THROW;
+libc_hidden_proto(wordfree)
 
 __END_DECLS
 
index ad9539e..b371fa9 100644 (file)
@@ -48,7 +48,7 @@
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__ctype_b) */
 #endif
-libc_hidden_proto(inet_aton)
+/* libc_hidden_proto(inet_aton) */
 int inet_aton(const char *cp, struct in_addr *addrptr)
 {
        in_addr_t addr;
@@ -103,9 +103,9 @@ libc_hidden_def(inet_aton)
 #endif
 
 #ifdef L_inet_addr
-libc_hidden_proto(inet_aton)
+/* libc_hidden_proto(inet_aton) */
 
-libc_hidden_proto(inet_addr)
+/* libc_hidden_proto(inet_addr) */
 in_addr_t inet_addr(const char *cp)
 {
        struct in_addr a;
@@ -122,7 +122,7 @@ libc_hidden_def(inet_addr)
 
 #define INET_NTOA_MAX_LEN      16      /* max 12 digits + 3 '.'s + 1 nul */
 
-libc_hidden_proto(inet_ntoa_r)
+/* libc_hidden_proto(inet_ntoa_r) */
 char *inet_ntoa_r(struct in_addr in, char buf[INET_NTOA_MAX_LEN])
 {
        in_addr_t addr = ntohl(in.s_addr);
@@ -144,7 +144,7 @@ char *inet_ntoa_r(struct in_addr in, char buf[INET_NTOA_MAX_LEN])
 }
 libc_hidden_def(inet_ntoa_r)
 
-libc_hidden_proto(inet_ntoa)
+/* libc_hidden_proto(inet_ntoa) */
 char *inet_ntoa(struct in_addr in)
 {
        static char buf[INET_NTOA_MAX_LEN];
@@ -162,7 +162,7 @@ libc_hidden_def(inet_ntoa)
  * Formulate an Internet address from network + host.  Used in
  * building addresses stored in the ifnet structure.
  */
-libc_hidden_proto(inet_makeaddr)
+/* libc_hidden_proto(inet_makeaddr) */
 struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host)
 {
        in_addr_t addr;
@@ -206,7 +206,7 @@ in_addr_t inet_lnaof(struct in_addr in)
  * Return the network number from an internet
  * address; handles class a/b/c network #'s.
  */
-libc_hidden_proto(inet_netof)
+/* libc_hidden_proto(inet_netof) */
 in_addr_t
 inet_netof(struct in_addr in)
 {
index 8ce61d2..82b0671 100644 (file)
@@ -31,7 +31,7 @@
 #include <netinet/ether.h>
 #include <netinet/if_ether.h>
 
-libc_hidden_proto(ether_ntoa_r)
+/* libc_hidden_proto(ether_ntoa_r) */
 /* libc_hidden_proto(sprintf) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
index 189d52f..41abbe2 100644 (file)
@@ -79,17 +79,17 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(getservbyname_r)
-libc_hidden_proto(gethostbyname2_r)
-libc_hidden_proto(gethostbyaddr_r)
-libc_hidden_proto(inet_pton)
-libc_hidden_proto(inet_ntop)
-libc_hidden_proto(strtoul)
-libc_hidden_proto(if_nametoindex)
-libc_hidden_proto(__h_errno_location)
+/* libc_hidden_proto(getservbyname_r) */
+/* libc_hidden_proto(gethostbyname2_r) */
+/* libc_hidden_proto(gethostbyaddr_r) */
+/* libc_hidden_proto(inet_pton) */
+/* libc_hidden_proto(inet_ntop) */
+/* libc_hidden_proto(strtoul) */
+/* libc_hidden_proto(if_nametoindex) */
+/* libc_hidden_proto(__h_errno_location) */
 /* libc_hidden_proto(uname) */
 #ifdef __UCLIBC_HAS_IPV6__
-libc_hidden_proto(in6addr_loopback)
+/* libc_hidden_proto(in6addr_loopback) */
 #endif
 
 #define GAIH_OKIFUNSPEC 0x0100
@@ -775,7 +775,7 @@ static const struct gaih gaih[] = {
        { PF_UNSPEC, NULL }
 };
 
-libc_hidden_proto(freeaddrinfo)
+/* libc_hidden_proto(freeaddrinfo) */
 void
 freeaddrinfo(struct addrinfo *ai)
 {
@@ -789,7 +789,7 @@ freeaddrinfo(struct addrinfo *ai)
 }
 libc_hidden_def(freeaddrinfo)
 
-libc_hidden_proto(getaddrinfo)
+/* libc_hidden_proto(getaddrinfo) */
 int
 getaddrinfo(const char *name, const char *service,
             const struct addrinfo *hints, struct addrinfo **pai)
index c916a18..735005a 100644 (file)
@@ -20,9 +20,9 @@
 #include <netdb.h>
 #include <unistd.h>
 
-libc_hidden_proto(setnetent)
-libc_hidden_proto(getnetent)
-libc_hidden_proto(endnetent)
+/* libc_hidden_proto(setnetent) */
+/* libc_hidden_proto(getnetent) */
+/* libc_hidden_proto(endnetent) */
 
 extern smallint _net_stayopen attribute_hidden;
 
index 9f36551..d3f2831 100644 (file)
@@ -22,9 +22,9 @@
 #include <unistd.h>
 
 /* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(setnetent)
-libc_hidden_proto(getnetent)
-libc_hidden_proto(endnetent)
+/* libc_hidden_proto(setnetent) */
+/* libc_hidden_proto(getnetent) */
+/* libc_hidden_proto(endnetent) */
 
 extern smallint _net_stayopen attribute_hidden;
 
index 4f16423..746f8b7 100644 (file)
@@ -25,8 +25,8 @@
 
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(inet_network)
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(inet_network) */
+/* libc_hidden_proto(rewind) */
 /* libc_hidden_proto(fgets) */
 /* libc_hidden_proto(abort) */
 
@@ -44,7 +44,7 @@ static char *net_aliases[MAXALIASES];
 
 smallint _net_stayopen attribute_hidden;
 
-libc_hidden_proto(setnetent)
+/* libc_hidden_proto(setnetent) */
 void setnetent(int f)
 {
     __UCLIBC_MUTEX_LOCK(mylock);
@@ -58,7 +58,7 @@ void setnetent(int f)
 }
 libc_hidden_def(setnetent)
 
-libc_hidden_proto(endnetent)
+/* libc_hidden_proto(endnetent) */
 void endnetent(void)
 {
     __UCLIBC_MUTEX_LOCK(mylock);
@@ -84,7 +84,7 @@ static char * any(register char *cp, char *match)
     return ((char *)0);
 }
 
-libc_hidden_proto(getnetent)
+/* libc_hidden_proto(getnetent) */
 struct netent *getnetent(void)
 {
     char *p;
index bfaf491..837f131 100644 (file)
@@ -65,8 +65,8 @@
 /* libc_hidden_proto(fopen) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strpbrk) */
-libc_hidden_proto(atoi)
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(rewind) */
 /* libc_hidden_proto(fgets) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(abort) */
@@ -93,7 +93,7 @@ static void __initbuf(void)
     }
 }
 
-libc_hidden_proto(setprotoent)
+/* libc_hidden_proto(setprotoent) */
 void setprotoent(int f)
 {
     __UCLIBC_MUTEX_LOCK(mylock);
@@ -106,7 +106,7 @@ void setprotoent(int f)
 }
 libc_hidden_def(setprotoent)
 
-libc_hidden_proto(endprotoent)
+/* libc_hidden_proto(endprotoent) */
 void endprotoent(void)
 {
     __UCLIBC_MUTEX_LOCK(mylock);
@@ -119,7 +119,7 @@ void endprotoent(void)
 }
 libc_hidden_def(endprotoent)
 
-libc_hidden_proto(getprotoent_r)
+/* libc_hidden_proto(getprotoent_r) */
 int getprotoent_r(struct protoent *result_buf,
                  char *buf, size_t buflen,
                  struct protoent **result)
@@ -210,7 +210,7 @@ struct protoent * getprotoent(void)
 }
 
 
-libc_hidden_proto(getprotobyname_r)
+/* libc_hidden_proto(getprotobyname_r) */
 int getprotobyname_r(const char *name,
                    struct protoent *result_buf,
                    char *buf, size_t buflen,
@@ -247,7 +247,7 @@ struct protoent * getprotobyname(const char *name)
 }
 
 
-libc_hidden_proto(getprotobynumber_r)
+/* libc_hidden_proto(getprotobynumber_r) */
 int getprotobynumber_r (int proto_num,
                        struct protoent *result_buf,
                        char *buf, size_t buflen,
index d427adf..904f0b7 100644 (file)
@@ -68,8 +68,8 @@
 /* Experimentally off - libc_hidden_proto(strpbrk) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(atoi)
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(rewind) */
 /* libc_hidden_proto(fgets) */
 /* libc_hidden_proto(abort) */
 
@@ -96,7 +96,7 @@ static void __initbuf(void)
     }
 }
 
-libc_hidden_proto(setservent)
+/* libc_hidden_proto(setservent) */
 void setservent(int f)
 {
     __UCLIBC_MUTEX_LOCK(mylock);
@@ -109,7 +109,7 @@ void setservent(int f)
 }
 libc_hidden_def(setservent)
 
-libc_hidden_proto(endservent)
+/* libc_hidden_proto(endservent) */
 void endservent(void)
 {
     __UCLIBC_MUTEX_LOCK(mylock);
@@ -122,7 +122,7 @@ void endservent(void)
 }
 libc_hidden_def(endservent)
 
-libc_hidden_proto(getservent_r)
+/* libc_hidden_proto(getservent_r) */
 int getservent_r(struct servent * result_buf,
                 char * buf, size_t buflen,
                 struct servent ** result)
@@ -213,7 +213,7 @@ struct servent * getservent(void)
     return result;
 }
 
-libc_hidden_proto(getservbyname_r)
+/* libc_hidden_proto(getservbyname_r) */
 int getservbyname_r(const char *name, const char *proto,
        struct servent * result_buf, char * buf, size_t buflen,
        struct servent ** result)
@@ -251,7 +251,7 @@ struct servent *getservbyname(const char *name, const char *proto)
 }
 
 
-libc_hidden_proto(getservbyport_r)
+/* libc_hidden_proto(getservbyport_r) */
 int getservbyport_r(int port, const char *proto,
        struct servent * result_buf, char * buf,
        size_t buflen, struct servent ** result)
@@ -273,7 +273,7 @@ int getservbyport_r(int port, const char *proto,
 }
 libc_hidden_def(getservbyport_r)
 
-libc_hidden_proto(getservbyport)
+/* libc_hidden_proto(getservbyport) */
 struct servent * getservbyport(int port, const char *proto)
 {
     struct servent *result;
index 2c671e9..8f993a7 100644 (file)
@@ -24,7 +24,7 @@
 #include <netdb.h>
 
 /* libc_hidden_proto(fprintf) */
-libc_hidden_proto(__h_errno_location)
+/* libc_hidden_proto(__h_errno_location) */
 
 static const char error_msg[] = "Resolver error";
 static const char *const h_errlist[] = {
@@ -39,7 +39,7 @@ static const int h_nerr = { sizeof(h_errlist)/sizeof(h_errlist[0]) };
 /*
  * herror -- print the error indicated by the h_errno value.
  */
-libc_hidden_proto(herror)
+/* libc_hidden_proto(herror) */
 void herror(const char *s)
 {
        static const char colon_space[] = ": ";
index e4c592b..42ee53f 100644 (file)
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(read) */
 /* libc_hidden_proto(write) */
-libc_hidden_proto(getuid)
-libc_hidden_proto(geteuid)
-libc_hidden_proto(gethostbyname_r)
-libc_hidden_proto(gethostname)
+/* libc_hidden_proto(getuid) */
+/* libc_hidden_proto(geteuid) */
+/* libc_hidden_proto(gethostbyname_r) */
+/* libc_hidden_proto(gethostname) */
 
 #define HOSTID "/etc/hostid"
 
index a5b0730..4100bbf 100644 (file)
@@ -45,7 +45,7 @@
 
 extern int __opensock(void) attribute_hidden;
 
-libc_hidden_proto(if_nametoindex)
+/* libc_hidden_proto(if_nametoindex) */
 unsigned int
 if_nametoindex(const char* ifname)
 {
@@ -75,7 +75,7 @@ if_nametoindex(const char* ifname)
 }
 libc_hidden_def(if_nametoindex)
 
-libc_hidden_proto(if_freenameindex)
+/* libc_hidden_proto(if_freenameindex) */
 void
 if_freenameindex (struct if_nameindex *ifn)
 {
@@ -89,7 +89,7 @@ if_freenameindex (struct if_nameindex *ifn)
 }
 libc_hidden_def(if_freenameindex)
 
-libc_hidden_proto(if_nameindex)
+/* libc_hidden_proto(if_nameindex) */
 #if !__ASSUME_NETLINK_SUPPORT
 struct if_nameindex *
 if_nameindex (void)
index bdacd62..3afc6b9 100644 (file)
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(close) */
 /* Experimentally off - libc_hidden_proto(time) */
-libc_hidden_proto(sendto)
-libc_hidden_proto(recvmsg)
-libc_hidden_proto(bind)
+/* libc_hidden_proto(sendto) */
+/* libc_hidden_proto(recvmsg) */
+/* libc_hidden_proto(bind) */
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
-libc_hidden_proto(getsockname)
+/* libc_hidden_proto(getsockname) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(abort) */
 
index c2ab375..eb096f9 100644 (file)
@@ -24,7 +24,7 @@
 #ifdef __UCLIBC_HAS_IPV6__
 const struct in6_addr in6addr_any =
 { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } };
-libc_hidden_proto(in6addr_loopback)
+/* libc_hidden_proto(in6addr_loopback) */
 const struct in6_addr in6addr_loopback =
 { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } };
 libc_hidden_data_def(in6addr_loopback)
index 93457e7..477d67d 100644 (file)
@@ -49,7 +49,7 @@
  * The library routines call this routine to interpret
  * network numbers.
  */
-libc_hidden_proto(inet_network)
+/* libc_hidden_proto(inet_network) */
 in_addr_t
 inet_network(const char *cp)
 {
index e24ac8d..dbc7181 100644 (file)
@@ -358,7 +358,7 @@ inet_pton6(const char *src, u_char *dst)
  * author:
  *     Paul Vixie, 1996.
  */
-libc_hidden_proto(inet_ntop)
+/* libc_hidden_proto(inet_ntop) */
 const char *
 inet_ntop(int af, const void *src, char *dst, socklen_t size)
 {
@@ -389,7 +389,7 @@ libc_hidden_def(inet_ntop)
  * author:
  *     Paul Vixie, 1996.
  */
-libc_hidden_proto(inet_pton)
+/* libc_hidden_proto(inet_pton) */
 int
 inet_pton(int af, const char *src, void *dst)
 {
index 901a7d8..d421aae 100644 (file)
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(random)
-libc_hidden_proto(getservbyport)
-libc_hidden_proto(gethostname)
-libc_hidden_proto(uname)
-libc_hidden_proto(inet_addr)
-libc_hidden_proto(inet_aton)
-libc_hidden_proto(inet_pton)
-libc_hidden_proto(inet_ntop)
-libc_hidden_proto(connect)
+/* libc_hidden_proto(random) */
+/* libc_hidden_proto(getservbyport) */
+/* libc_hidden_proto(gethostname) */
+/* libc_hidden_proto(uname) */
+/* libc_hidden_proto(inet_addr) */
+/* libc_hidden_proto(inet_aton) */
+/* libc_hidden_proto(inet_pton) */
+/* libc_hidden_proto(inet_ntop) */
+/* libc_hidden_proto(connect) */
 /* libc_hidden_proto(poll) */
-libc_hidden_proto(select)
-libc_hidden_proto(recv)
-libc_hidden_proto(send)
+/* libc_hidden_proto(select) */
+/* libc_hidden_proto(recv) */
+/* libc_hidden_proto(send) */
 /* libc_hidden_proto(printf) */
 /* libc_hidden_proto(sprintf) */
-libc_hidden_proto(snprintf)
+/* libc_hidden_proto(snprintf) */
 /* libc_hidden_proto(fgets) */
-libc_hidden_proto(getnameinfo)
-libc_hidden_proto(gethostbyname)
-libc_hidden_proto(gethostbyname_r)
-libc_hidden_proto(gethostbyname2_r)
-libc_hidden_proto(gethostbyaddr)
-libc_hidden_proto(gethostbyaddr_r)
-libc_hidden_proto(ns_name_uncompress)
-libc_hidden_proto(ns_name_unpack)
-libc_hidden_proto(ns_name_ntop)
-libc_hidden_proto(res_init)
-libc_hidden_proto(res_query)
-libc_hidden_proto(res_querydomain)
-libc_hidden_proto(gethostent_r)
+/* libc_hidden_proto(getnameinfo) */
+/* libc_hidden_proto(gethostbyname) */
+/* libc_hidden_proto(gethostbyname_r) */
+/* libc_hidden_proto(gethostbyname2_r) */
+/* libc_hidden_proto(gethostbyaddr) */
+/* libc_hidden_proto(gethostbyaddr_r) */
+/* libc_hidden_proto(ns_name_uncompress) */
+/* libc_hidden_proto(ns_name_unpack) */
+/* libc_hidden_proto(ns_name_ntop) */
+/* libc_hidden_proto(res_init) */
+/* libc_hidden_proto(res_query) */
+/* libc_hidden_proto(res_querydomain) */
+/* libc_hidden_proto(gethostent_r) */
 /* libc_hidden_proto(fprintf) */
-libc_hidden_proto(__h_errno_location)
+/* libc_hidden_proto(__h_errno_location) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__ctype_b) */
 #endif
-int __libc_getdomainname(char *name, size_t len);
+
+extern int __libc_getdomainname(char *name, size_t len);
 libc_hidden_proto(__libc_getdomainname)
 
 
index 30649f9..478315b 100644 (file)
@@ -40,7 +40,7 @@
 #include "rpc_private.h"
 
 /* libc_hidden_proto(xdrmem_create) */
-libc_hidden_proto(xdr_opaque_auth)
+/* libc_hidden_proto(xdr_opaque_auth) */
 
 #define MAX_MARSHAL_SIZE 20
 
@@ -74,7 +74,7 @@ struct authnone_private_s {
 static struct authnone_private_s *authnone_private;
 #endif
 
-libc_hidden_proto(authnone_create)
+/* libc_hidden_proto(authnone_create) */
 AUTH *
 authnone_create (void)
 {
index 2364aff..9f5d8b4 100644 (file)
 #endif
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(sysconf)
-libc_hidden_proto(getegid)
-libc_hidden_proto(geteuid)
-libc_hidden_proto(getgroups)
-libc_hidden_proto(gethostname)
+/* libc_hidden_proto(sysconf) */
+/* libc_hidden_proto(getegid) */
+/* libc_hidden_proto(geteuid) */
+/* libc_hidden_proto(getgroups) */
+/* libc_hidden_proto(gethostname) */
 /* libc_hidden_proto(xdrmem_create) */
-libc_hidden_proto(xdr_authunix_parms)
-libc_hidden_proto(xdr_opaque_auth)
+/* libc_hidden_proto(xdr_authunix_parms) */
+/* libc_hidden_proto(xdr_opaque_auth) */
 /* libc_hidden_proto(gettimeofday) */
 /* libc_hidden_proto(fputs) */
 /* libc_hidden_proto(perror) */
@@ -109,7 +109,7 @@ static bool_t marshal_new_auth (AUTH *) internal_function;
  * Create a unix style authenticator.
  * Returns an auth handle with the given stuff in it.
  */
-libc_hidden_proto(authunix_create)
+/* libc_hidden_proto(authunix_create) */
 AUTH *
 authunix_create (char *machname, uid_t uid, gid_t gid, int len,
                 gid_t *aup_gids)
@@ -182,7 +182,7 @@ libc_hidden_def(authunix_create)
  * Returns an auth handle with parameters determined by doing lots of
  * syscalls.
  */
-libc_hidden_proto(authunix_create_default)
+/* libc_hidden_proto(authunix_create_default) */
 AUTH *
 authunix_create_default (void)
 {
index 62d1cb7..2739e76 100644 (file)
 #include <rpc/auth.h>
 #include <rpc/auth_unix.h>
 
-libc_hidden_proto(xdr_string)
-libc_hidden_proto(xdr_u_int)
-libc_hidden_proto(xdr_array)
-libc_hidden_proto(xdr_u_long)
-libc_hidden_proto(xdr_u_short)
+/* libc_hidden_proto(xdr_string) */
+/* libc_hidden_proto(xdr_u_int) */
+/* libc_hidden_proto(xdr_array) */
+/* libc_hidden_proto(xdr_u_long) */
+/* libc_hidden_proto(xdr_u_short) */
 
 /*
  * XDR for unix authentication parameters.
  * Unfortunately, none of these can be declared const.
  */
-libc_hidden_proto(xdr_authunix_parms)
+/* libc_hidden_proto(xdr_authunix_parms) */
 bool_t
 xdr_authunix_parms (XDR * xdrs, struct authunix_parms *p)
 {
index 457f1f9..b9e77f3 100644 (file)
 #include <netinet/in.h>
 
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(bind)
+/* libc_hidden_proto(bind) */
 /* libc_hidden_proto(getpid) */
 
 /*
  * Bind a socket to a privileged IP port
  */
-libc_hidden_proto(bindresvport)
+/* libc_hidden_proto(bindresvport) */
 int
 bindresvport (int sd, struct sockaddr_in *sin)
 {
index 54bd0e9..165f42a 100644 (file)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
-libc_hidden_proto(clnttcp_create)
-libc_hidden_proto(clntudp_create)
-libc_hidden_proto(clntunix_create)
-libc_hidden_proto(getprotobyname_r)
-libc_hidden_proto(gethostbyname_r)
-libc_hidden_proto(__rpc_thread_createerr)
+/* libc_hidden_proto(clnttcp_create) */
+/* libc_hidden_proto(clntudp_create) */
+/* libc_hidden_proto(clntunix_create) */
+/* libc_hidden_proto(getprotobyname_r) */
+/* libc_hidden_proto(gethostbyname_r) */
+/* libc_hidden_proto(__rpc_thread_createerr) */
 
 /*
  * Generic client creation: takes (hostname, program-number, protocol) and
index e700e41..201a3a3 100644 (file)
@@ -54,7 +54,7 @@ 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(strlen) */
 /* libc_hidden_proto(sprintf) */
-libc_hidden_proto(__glibc_strerror_r)
+/* libc_hidden_proto(__glibc_strerror_r) */
 /* libc_hidden_proto(fputs) */
 #ifdef USE_IN_LIBIO
 /* libc_hidden_proto(fwprintf) */
@@ -186,7 +186,7 @@ static const struct rpc_errtab rpc_errlist[] =
 /*
  * This interface for use by clntrpc
  */
-libc_hidden_proto(clnt_sperrno)
+/* libc_hidden_proto(clnt_sperrno) */
 char *
 clnt_sperrno (enum clnt_stat stat)
 {
@@ -217,7 +217,7 @@ clnt_perrno (enum clnt_stat num)
 /*
  * Print reply error info
  */
-libc_hidden_proto(clnt_sperror)
+/* libc_hidden_proto(clnt_sperror) */
 char *
 clnt_sperror (CLIENT * rpch, const char *msg)
 {
@@ -303,7 +303,7 @@ clnt_sperror (CLIENT * rpch, const char *msg)
 }
 libc_hidden_def(clnt_sperror)
 
-libc_hidden_proto(clnt_perror)
+/* libc_hidden_proto(clnt_perror) */
 void
 clnt_perror (CLIENT * rpch, const char *msg)
 {
@@ -316,7 +316,7 @@ clnt_perror (CLIENT * rpch, const char *msg)
 }
 libc_hidden_def(clnt_perror)
 
-libc_hidden_proto(clnt_spcreateerror)
+/* libc_hidden_proto(clnt_spcreateerror) */
 char *
 clnt_spcreateerror (const char *msg)
 {
index 9941e08..91340d8 100644 (file)
@@ -49,13 +49,13 @@ static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/xdr.h>
 
 /* libc_hidden_proto(perror) */
-libc_hidden_proto(authnone_create)
+/* libc_hidden_proto(authnone_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_opaque_auth)
-libc_hidden_proto(svc_getreq)
-libc_hidden_proto(_seterr_reply)
+/* libc_hidden_proto(xdr_opaque_auth) */
+/* libc_hidden_proto(svc_getreq) */
+/* libc_hidden_proto(_seterr_reply) */
 
 #define MCALL_MSG_SIZE 24
 
index 52fb756..938a4d6 100644 (file)
@@ -54,8 +54,8 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(clntudp_create)
-libc_hidden_proto(gethostbyname_r)
+/* libc_hidden_proto(clntudp_create) */
+/* libc_hidden_proto(gethostbyname_r) */
 
 struct callrpc_private_s
   {
index 553b11b..622d445 100644 (file)
@@ -69,22 +69,22 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
 /* libc_hidden_proto(read) */
 /* libc_hidden_proto(write) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(authnone_create)
-libc_hidden_proto(xdrrec_create)
-libc_hidden_proto(xdrrec_endofrecord)
-libc_hidden_proto(xdrrec_skiprecord)
-libc_hidden_proto(xdr_callhdr)
+/* libc_hidden_proto(authnone_create) */
+/* libc_hidden_proto(xdrrec_create) */
+/* libc_hidden_proto(xdrrec_endofrecord) */
+/* libc_hidden_proto(xdrrec_skiprecord) */
+/* libc_hidden_proto(xdr_callhdr) */
 /* 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(xdr_void)
-libc_hidden_proto(pmap_getport)
-libc_hidden_proto(_seterr_reply)
-libc_hidden_proto(connect)
-libc_hidden_proto(bindresvport)
+/* libc_hidden_proto(xdr_void) */
+/* libc_hidden_proto(pmap_getport) */
+/* libc_hidden_proto(_seterr_reply) */
+/* libc_hidden_proto(connect) */
+/* libc_hidden_proto(bindresvport) */
 /* libc_hidden_proto(poll) */
 /* libc_hidden_proto(fputs) */
-libc_hidden_proto(__rpc_thread_createerr)
+/* libc_hidden_proto(__rpc_thread_createerr) */
 #ifdef USE_IN_LIBIO
 /* libc_hidden_proto(fwprintf) */
 #endif
@@ -141,7 +141,7 @@ static struct clnt_ops tcp_ops =
  * NB: The rpch->cl_auth is set null authentication.  Caller may wish to set this
  * something more useful.
  */
-libc_hidden_proto(clnttcp_create)
+/* libc_hidden_proto(clnttcp_create) */
 CLIENT *
 clnttcp_create (struct sockaddr_in *raddr, u_long prog, u_long vers,
                int *sockp, u_int sendsz, u_int recvsz)
index 3763db6..84eb5ed 100644 (file)
@@ -67,23 +67,23 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(close) */
 /* 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(xdr_callhdr)
+/* libc_hidden_proto(xdr_callhdr) */
 /* libc_hidden_proto(xdr_replymsg) */
-libc_hidden_proto(xdr_opaque_auth)
-libc_hidden_proto(pmap_getport)
-libc_hidden_proto(_seterr_reply)
-libc_hidden_proto(setsockopt)
-libc_hidden_proto(bindresvport)
-libc_hidden_proto(recvfrom)
-libc_hidden_proto(sendto)
-libc_hidden_proto(recvmsg)
+/* libc_hidden_proto(xdr_opaque_auth) */
+/* libc_hidden_proto(pmap_getport) */
+/* libc_hidden_proto(_seterr_reply) */
+/* libc_hidden_proto(setsockopt) */
+/* libc_hidden_proto(bindresvport) */
+/* libc_hidden_proto(recvfrom) */
+/* libc_hidden_proto(sendto) */
+/* libc_hidden_proto(recvmsg) */
 /* libc_hidden_proto(poll) */
 /* libc_hidden_proto(fputs) */
-libc_hidden_proto(__rpc_thread_createerr)
+/* libc_hidden_proto(__rpc_thread_createerr) */
 
 extern u_long _create_xid (void) attribute_hidden;
 
@@ -144,7 +144,7 @@ struct cu_data
  * sendsz and recvsz are the maximum allowable packet sizes that can be
  * sent and received.
  */
-libc_hidden_proto(clntudp_bufcreate)
+/* libc_hidden_proto(clntudp_bufcreate) */
 CLIENT *
 clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
                   struct timeval wait, int *sockp, u_int sendsz,
@@ -245,7 +245,7 @@ fooy:
 }
 libc_hidden_def(clntudp_bufcreate)
 
-libc_hidden_proto(clntudp_create)
+/* libc_hidden_proto(clntudp_create) */
 CLIENT *
 clntudp_create (struct sockaddr_in *raddr, u_long program, u_long version, struct timeval wait, int *sockp)
 {
index 6de4e63..b412ccb 100644 (file)
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(getpid) */
-libc_hidden_proto(authnone_create)
-libc_hidden_proto(xdrrec_create)
-libc_hidden_proto(xdrrec_endofrecord)
-libc_hidden_proto(xdrrec_skiprecord)
-libc_hidden_proto(xdr_callhdr)
+/* libc_hidden_proto(authnone_create) */
+/* libc_hidden_proto(xdrrec_create) */
+/* libc_hidden_proto(xdrrec_endofrecord) */
+/* libc_hidden_proto(xdrrec_skiprecord) */
+/* libc_hidden_proto(xdr_callhdr) */
 /* 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(xdr_void)
-libc_hidden_proto(getegid)
-libc_hidden_proto(geteuid)
-libc_hidden_proto(_seterr_reply)
-libc_hidden_proto(setsockopt)
-libc_hidden_proto(connect)
-libc_hidden_proto(recvmsg)
-libc_hidden_proto(sendmsg)
+/* libc_hidden_proto(xdr_void) */
+/* libc_hidden_proto(getegid) */
+/* libc_hidden_proto(geteuid) */
+/* libc_hidden_proto(_seterr_reply) */
+/* libc_hidden_proto(setsockopt) */
+/* libc_hidden_proto(connect) */
+/* libc_hidden_proto(recvmsg) */
+/* libc_hidden_proto(sendmsg) */
 /* libc_hidden_proto(poll) */
 /* libc_hidden_proto(fputs) */
-libc_hidden_proto(__rpc_thread_createerr)
+/* libc_hidden_proto(__rpc_thread_createerr) */
 
 extern u_long _create_xid (void) attribute_hidden;
 
@@ -140,7 +140,7 @@ static struct clnt_ops unix_ops =
  * NB: The rpch->cl_auth is set null authentication.  Caller may wish to set this
  * something more useful.
  */
-libc_hidden_proto(clntunix_create)
+/* libc_hidden_proto(clntunix_create) */
 CLIENT *
 clntunix_create (struct sockaddr_un *raddr, u_long prog, u_long vers,
                 int *sockp, u_int sendsz, u_int recvsz)
index b460626..be24d66 100644 (file)
@@ -25,8 +25,8 @@
 #include <sys/time.h>
 #include <rpc/rpc.h>
 
-libc_hidden_proto(lrand48_r)
-libc_hidden_proto(srand48_r)
+/* libc_hidden_proto(lrand48_r) */
+/* libc_hidden_proto(srand48_r) */
 /* libc_hidden_proto(gettimeofday) */
 
 /* The RPC code is not threadsafe, but new code should be threadsafe. */
index 2730a64..2a98544 100644 (file)
@@ -51,8 +51,8 @@
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(atoi)
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(rewind) */
 /* libc_hidden_proto(fgets) */
 
 /*
@@ -84,7 +84,7 @@ static struct rpcdata *_rpcdata(void)
        return d;
 }
 
-libc_hidden_proto(endrpcent)
+/* libc_hidden_proto(endrpcent) */
 void endrpcent(void)
 {
        register struct rpcdata *d = _rpcdata();
@@ -102,7 +102,7 @@ void endrpcent(void)
 }
 libc_hidden_def(endrpcent)
 
-libc_hidden_proto(setrpcent)
+/* libc_hidden_proto(setrpcent) */
 void setrpcent(int f)
 {
        register struct rpcdata *d = _rpcdata();
@@ -128,7 +128,7 @@ static struct rpcent *__get_next_rpcent(struct rpcdata *d)
        return interpret(d);
 }
 
-libc_hidden_proto(getrpcent)
+/* libc_hidden_proto(getrpcent) */
 struct rpcent *getrpcent(void)
 {
        register struct rpcdata *d = _rpcdata();
@@ -141,7 +141,7 @@ struct rpcent *getrpcent(void)
 }
 libc_hidden_def(getrpcent)
 
-libc_hidden_proto(getrpcbynumber)
+/* libc_hidden_proto(getrpcbynumber) */
 struct rpcent *getrpcbynumber(register int number)
 {
        register struct rpcdata *d = _rpcdata();
@@ -159,7 +159,7 @@ struct rpcent *getrpcbynumber(register int number)
 }
 libc_hidden_def(getrpcbynumber)
 
-libc_hidden_proto(getrpcbyname)
+/* libc_hidden_proto(getrpcbyname) */
 struct rpcent *getrpcbyname(const char *name)
 {
        struct rpcent *rpc;
index 0a57d1d..d831e67 100644 (file)
@@ -49,8 +49,8 @@ static  char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
 #include <sys/socket.h>
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(pmap_getport)
-libc_hidden_proto(gethostbyname_r)
+/* libc_hidden_proto(pmap_getport) */
+/* libc_hidden_proto(gethostbyname_r) */
 
 int
 getrpcport (const char *host, u_long prognum, u_long versnum, u_int proto)
index 1760adf..bcdbbf4 100644 (file)
@@ -48,11 +48,11 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";
 #include <errno.h>
 #include <unistd.h>
 
-libc_hidden_proto(clnt_perror)
-libc_hidden_proto(clnttcp_create)
-libc_hidden_proto(xdr_pmap)
-libc_hidden_proto(xdr_pmaplist)
-libc_hidden_proto(xdr_void)
+/* libc_hidden_proto(clnt_perror) */
+/* libc_hidden_proto(clnttcp_create) */
+/* libc_hidden_proto(xdr_pmap) */
+/* libc_hidden_proto(xdr_pmaplist) */
+/* libc_hidden_proto(xdr_void) */
 
 /*
  * Get a copy of the current port maps.
index 327fb91..fa9780c 100644 (file)
@@ -44,10 +44,10 @@ static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
 
-libc_hidden_proto(clntudp_bufcreate)
-libc_hidden_proto(__rpc_thread_createerr)
-libc_hidden_proto(xdr_u_short)
-libc_hidden_proto(xdr_pmap)
+/* libc_hidden_proto(clntudp_bufcreate) */
+/* libc_hidden_proto(__rpc_thread_createerr) */
+/* libc_hidden_proto(xdr_u_short) */
+/* libc_hidden_proto(xdr_pmap) */
 
 static const struct timeval timeout =
 {5, 0};
@@ -59,7 +59,7 @@ static const struct timeval tottimeout =
  * Calls the pmap service remotely to do the lookup.
  * Returns 0 if no map exists.
  */
-libc_hidden_proto(pmap_getport)
+/* libc_hidden_proto(pmap_getport) */
 u_short
 pmap_getport (address, program, version, protocol)
      struct sockaddr_in *address;
index d713780..948d9dc 100644 (file)
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(perror) */
 /* libc_hidden_proto(exit) */
-libc_hidden_proto(clnt_perror)
-libc_hidden_proto(clntudp_bufcreate)
-libc_hidden_proto(xdr_bool)
-libc_hidden_proto(xdr_pmap)
+/* libc_hidden_proto(clnt_perror) */
+/* libc_hidden_proto(clntudp_bufcreate) */
+/* libc_hidden_proto(xdr_bool) */
+/* libc_hidden_proto(xdr_pmap) */
 
 /*
  * Same as get_myaddress, but we try to use the loopback
@@ -122,7 +122,7 @@ static const struct timeval tottimeout = {60, 0};
  * Set a mapping between program,version and port.
  * Calls the pmap service remotely to do the mapping.
  */
-libc_hidden_proto(pmap_set)
+/* libc_hidden_proto(pmap_set) */
 bool_t
 pmap_set (u_long program, u_long version, int protocol, u_short port)
 {
@@ -159,7 +159,7 @@ libc_hidden_def (pmap_set)
  * Remove the mapping between program,version and port.
  * Calls the pmap service remotely to do the un-mapping.
  */
-libc_hidden_proto(pmap_unset)
+/* libc_hidden_proto(pmap_unset) */
 bool_t
 pmap_unset (u_long program, u_long version)
 {
index 0ae2c88..a5c4d16 100644 (file)
@@ -42,9 +42,9 @@ static char sccsid[] = "@(#)pmap_prot.c 1.17 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/xdr.h>
 #include <rpc/pmap_prot.h>
 
-libc_hidden_proto(xdr_u_long)
+/* libc_hidden_proto(xdr_u_long) */
 
-libc_hidden_proto(xdr_pmap)
+/* libc_hidden_proto(xdr_pmap) */
 bool_t
 xdr_pmap (xdrs, regs)
      XDR *xdrs;
index 5adc4ee..21def3c 100644 (file)
@@ -42,9 +42,9 @@ static char sccsid[] = "@(#)pmap_prot2.c 1.3 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/xdr.h>
 #include <rpc/pmap_prot.h>
 
-libc_hidden_proto(xdr_bool)
-libc_hidden_proto(xdr_reference)
-libc_hidden_proto(xdr_pmap)
+/* libc_hidden_proto(xdr_bool) */
+/* libc_hidden_proto(xdr_reference) */
+/* libc_hidden_proto(xdr_pmap) */
 
 /*
  * What is going on with linked lists? (!)
@@ -84,7 +84,7 @@ libc_hidden_proto(xdr_pmap)
  * the net, yet is the data that the pointer points to which is interesting;
  * this sounds like a job for xdr_reference!
  */
-libc_hidden_proto(xdr_pmaplist)
+/* libc_hidden_proto(xdr_pmaplist) */
 bool_t
 xdr_pmaplist (xdrs, rp)
      XDR *xdrs;
index 037b3ed..a1f8f71 100644 (file)
@@ -64,21 +64,21 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
 /* libc_hidden_proto(perror) */
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(authunix_create_default)
+/* libc_hidden_proto(authunix_create_default) */
 /* libc_hidden_proto(xdrmem_create) */
-libc_hidden_proto(xdr_callmsg)
+/* libc_hidden_proto(xdr_callmsg) */
 /* libc_hidden_proto(xdr_replymsg) */
-libc_hidden_proto(xdr_reference)
-libc_hidden_proto(xdr_u_long)
-libc_hidden_proto(xdr_void)
-libc_hidden_proto(xdr_rmtcallres)
-libc_hidden_proto(xdr_rmtcall_args)
-libc_hidden_proto(inet_makeaddr)
-libc_hidden_proto(inet_netof)
-libc_hidden_proto(clntudp_create)
-libc_hidden_proto(setsockopt)
-libc_hidden_proto(recvfrom)
-libc_hidden_proto(sendto)
+/* libc_hidden_proto(xdr_reference) */
+/* libc_hidden_proto(xdr_u_long) */
+/* libc_hidden_proto(xdr_void) */
+/* libc_hidden_proto(xdr_rmtcallres) */
+/* libc_hidden_proto(xdr_rmtcall_args) */
+/* libc_hidden_proto(inet_makeaddr) */
+/* libc_hidden_proto(inet_netof) */
+/* libc_hidden_proto(clntudp_create) */
+/* libc_hidden_proto(setsockopt) */
+/* libc_hidden_proto(recvfrom) */
+/* libc_hidden_proto(sendto) */
 /* libc_hidden_proto(poll) */
 /* libc_hidden_proto(fprintf) */
 
index b8e54b6..17af69e 100644 (file)
@@ -105,32 +105,32 @@ static char sccsid[] = "@(#)rcmd.c        8.3 (Berkeley) 3/26/94";
 /* libc_hidden_proto(lstat) */
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(tolower) */
-libc_hidden_proto(sysconf)
-libc_hidden_proto(getline)
-libc_hidden_proto(geteuid)
-libc_hidden_proto(seteuid)
-libc_hidden_proto(getpwnam_r)
-libc_hidden_proto(gethostbyname)
-libc_hidden_proto(gethostbyname_r)
-libc_hidden_proto(fileno)
-libc_hidden_proto(sleep)
-libc_hidden_proto(inet_addr)
-libc_hidden_proto(inet_ntoa)
-libc_hidden_proto(herror)
-libc_hidden_proto(bind)
-libc_hidden_proto(connect)
-libc_hidden_proto(sigblock)
-libc_hidden_proto(snprintf)
+/* libc_hidden_proto(sysconf) */
+/* libc_hidden_proto(getline) */
+/* libc_hidden_proto(geteuid) */
+/* libc_hidden_proto(seteuid) */
+/* libc_hidden_proto(getpwnam_r) */
+/* libc_hidden_proto(gethostbyname) */
+/* libc_hidden_proto(gethostbyname_r) */
+/* libc_hidden_proto(fileno) */
+/* libc_hidden_proto(sleep) */
+/* libc_hidden_proto(inet_addr) */
+/* libc_hidden_proto(inet_ntoa) */
+/* libc_hidden_proto(herror) */
+/* libc_hidden_proto(bind) */
+/* libc_hidden_proto(connect) */
+/* libc_hidden_proto(sigblock) */
+/* libc_hidden_proto(snprintf) */
 /* libc_hidden_proto(poll) */
-libc_hidden_proto(accept)
-libc_hidden_proto(listen)
-libc_hidden_proto(sigsetmask)
-libc_hidden_proto(getc_unlocked)
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(accept) */
+/* libc_hidden_proto(listen) */
+/* libc_hidden_proto(sigsetmask) */
+/* libc_hidden_proto(getc_unlocked) */
+/* libc_hidden_proto(__fgetc_unlocked) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(fprintf) */
-libc_hidden_proto(__h_errno_location)
+/* libc_hidden_proto(__h_errno_location) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
 /* libc_hidden_proto(__ctype_tolower_loc) */
@@ -139,7 +139,7 @@ libc_hidden_proto(__h_errno_location)
 /* libc_hidden_proto(__ctype_tolower) */
 #endif
 
-libc_hidden_proto(rresvport)
+/* libc_hidden_proto(rresvport) */
 
 /* some forward declarations */
 static int __ivaliduser2(FILE *hostf, u_int32_t raddr,
index 4a3141b..12df3ab 100644 (file)
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(perror) */
 /* libc_hidden_proto(sprintf) */
-libc_hidden_proto(snprintf)
-libc_hidden_proto(getsockname)
-libc_hidden_proto(getnameinfo)
-libc_hidden_proto(getaddrinfo)
-libc_hidden_proto(freeaddrinfo)
-libc_hidden_proto(sleep)
-libc_hidden_proto(atoi)
-libc_hidden_proto(connect)
-libc_hidden_proto(accept)
-libc_hidden_proto(listen)
-libc_hidden_proto(ruserpass)
+/* libc_hidden_proto(snprintf) */
+/* libc_hidden_proto(getsockname) */
+/* libc_hidden_proto(getnameinfo) */
+/* libc_hidden_proto(getaddrinfo) */
+/* libc_hidden_proto(freeaddrinfo) */
+/* libc_hidden_proto(sleep) */
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(connect) */
+/* libc_hidden_proto(accept) */
+/* libc_hidden_proto(listen) */
+/* libc_hidden_proto(ruserpass) */
 
 #define SA_LEN(_x)      __libc_sa_len((_x)->sa_family)
 extern int __libc_sa_len (sa_family_t __af) __THROW attribute_hidden;
@@ -69,7 +69,7 @@ extern int __libc_sa_len (sa_family_t __af) __THROW attribute_hidden;
 int    rexecoptions;
 char   ahostbuf[NI_MAXHOST] attribute_hidden;
 
-libc_hidden_proto(rexec_af)
+/* libc_hidden_proto(rexec_af) */
 int
 rexec_af(char **ahost, int rport, const char *name, const char *pass, const char *cmd, int *fd2p, sa_family_t af)
 {
index 3206aae..0d8aac6 100644 (file)
@@ -46,16 +46,16 @@ static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/rpc.h>
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(xdr_enum)
-libc_hidden_proto(xdr_opaque)
-libc_hidden_proto(xdr_u_int)
-libc_hidden_proto(xdr_u_long)
-libc_hidden_proto(xdr_opaque_auth)
+/* libc_hidden_proto(xdr_enum) */
+/* libc_hidden_proto(xdr_opaque) */
+/* libc_hidden_proto(xdr_u_int) */
+/* libc_hidden_proto(xdr_u_long) */
+/* libc_hidden_proto(xdr_opaque_auth) */
 
 /*
  * XDR a call message
  */
-libc_hidden_proto(xdr_callmsg)
+/* libc_hidden_proto(xdr_callmsg) */
 bool_t
 xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg)
 {
index 11a7ad4..fe3d4a3 100644 (file)
@@ -38,13 +38,13 @@ static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";
 #include <unistd.h>
 #include <rpc/clnt.h>
 
-libc_hidden_proto(getdtablesize)
+/* libc_hidden_proto(getdtablesize) */
 
 /*
  * Cache the result of getdtablesize(), so we don't have to do an
  * expensive system call every time.
  */
-libc_hidden_proto(_rpc_dtablesize)
+/* libc_hidden_proto(_rpc_dtablesize) */
 int
 _rpc_dtablesize(void)
 {
index 1525005..24112a4 100644 (file)
@@ -4,7 +4,7 @@
 /* Now define the internal interfaces.  */
 extern u_long _create_xid (void) attribute_hidden;
 
-libc_hidden_proto(__rpc_thread_createerr)
+/* libc_hidden_proto(__rpc_thread_createerr) */
 
 /*
  * Multi-threaded support
index 418aae9..ddfabe0 100644 (file)
@@ -51,11 +51,11 @@ static char sccsid[] = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro";
 
 #include <rpc/rpc.h>
 
-libc_hidden_proto(xdr_bytes)
-libc_hidden_proto(xdr_union)
-libc_hidden_proto(xdr_enum)
-libc_hidden_proto(xdr_opaque)
-libc_hidden_proto(xdr_u_long)
+/* libc_hidden_proto(xdr_bytes) */
+/* libc_hidden_proto(xdr_union) */
+/* libc_hidden_proto(xdr_enum) */
+/* libc_hidden_proto(xdr_opaque) */
+/* libc_hidden_proto(xdr_u_long) */
 
 /* * * * * * * * * * * * * * XDR Authentication * * * * * * * * * * * */
 
@@ -63,7 +63,7 @@ libc_hidden_proto(xdr_u_long)
  * XDR an opaque authentication struct
  * (see auth.h)
  */
-libc_hidden_proto(xdr_opaque_auth)
+/* libc_hidden_proto(xdr_opaque_auth) */
 bool_t
 xdr_opaque_auth (XDR *xdrs, struct opaque_auth *ap)
 {
@@ -89,7 +89,7 @@ xdr_des_block (XDR *xdrs, des_block *blkp)
 /*
  * XDR the MSG_ACCEPTED part of a reply message union
  */
-libc_hidden_proto(xdr_accepted_reply)
+/* libc_hidden_proto(xdr_accepted_reply) */
 bool_t
 xdr_accepted_reply (XDR *xdrs, struct accepted_reply *ar)
 {
@@ -116,7 +116,7 @@ libc_hidden_def(xdr_accepted_reply)
 /*
  * XDR the MSG_DENIED part of a reply message union
  */
-libc_hidden_proto(xdr_rejected_reply)
+/* libc_hidden_proto(xdr_rejected_reply) */
 bool_t
 xdr_rejected_reply (XDR *xdrs, struct rejected_reply *rr)
 {
@@ -166,7 +166,7 @@ libc_hidden_def(xdr_replymsg)
  * The fields include: rm_xid, rm_direction, rpcvers, prog, and vers.
  * The rm_xid is not really static, but the user can easily munge on the fly.
  */
-libc_hidden_proto(xdr_callhdr)
+/* libc_hidden_proto(xdr_callhdr) */
 bool_t
 xdr_callhdr (XDR *xdrs, struct rpc_msg *cmsg)
 {
@@ -247,7 +247,7 @@ rejected (enum reject_stat rjct_stat,
 /*
  * given a reply message, fills in the error
  */
-libc_hidden_proto(_seterr_reply)
+/* libc_hidden_proto(_seterr_reply) */
 void
 _seterr_reply (struct rpc_msg *msg,
               struct rpc_err *error)
index 43d2fc5..0e0078c 100644 (file)
 #include <assert.h>
 #include "rpc_private.h"
 
-libc_hidden_proto(__rpc_thread_svc_fdset)
-libc_hidden_proto(__rpc_thread_createerr)
-libc_hidden_proto(__rpc_thread_svc_pollfd)
-libc_hidden_proto(__rpc_thread_svc_max_pollfd)
+/* libc_hidden_proto(__rpc_thread_svc_fdset) */
+/* libc_hidden_proto(__rpc_thread_createerr) */
+/* libc_hidden_proto(__rpc_thread_svc_pollfd) */
+/* libc_hidden_proto(__rpc_thread_svc_max_pollfd) */
 
 #ifdef __UCLIBC_HAS_THREADS__
 
index 80962a2..08bdf93 100644 (file)
@@ -61,11 +61,11 @@ 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(socket) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(connect)
-libc_hidden_proto(recvfrom)
-libc_hidden_proto(sendto)
+/* libc_hidden_proto(connect) */
+/* libc_hidden_proto(recvfrom) */
+/* libc_hidden_proto(sendto) */
 /* libc_hidden_proto(poll) */
-libc_hidden_proto(rtime)
+/* libc_hidden_proto(rtime) */
 
 #define NYEARS (u_long)(1970 - 1900)
 #define TOFFSET (u_long)(60*60*24*(365*NYEARS + (NYEARS/4)))
index 0586516..3b0dc92 100644 (file)
 /* libc_hidden_proto(getenv) */
 /* libc_hidden_proto(printf) */
 /* libc_hidden_proto(fstat) */
-libc_hidden_proto(__fsetlocking)
-libc_hidden_proto(getgid)
-libc_hidden_proto(getuid)
-libc_hidden_proto(getegid)
-libc_hidden_proto(geteuid)
-libc_hidden_proto(gethostname)
-libc_hidden_proto(fileno)
+/* libc_hidden_proto(__fsetlocking) */
+/* libc_hidden_proto(getgid) */
+/* libc_hidden_proto(getuid) */
+/* libc_hidden_proto(getegid) */
+/* libc_hidden_proto(geteuid) */
+/* libc_hidden_proto(gethostname) */
+/* libc_hidden_proto(fileno) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(getc_unlocked)
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(getc_unlocked) */
+/* libc_hidden_proto(__fgetc_unlocked) */
 
 #define _(X)  (X)
 /* #include "ftp_var.h" */
@@ -114,7 +114,7 @@ static const struct toktab {
 
 /* ruserpass - remote password check.
    This function also exists in glibc but is undocumented */
-libc_hidden_proto(ruserpass)
+/* libc_hidden_proto(ruserpass) */
 int ruserpass(const char *host, const char **aname, const char **apass)
 {
        char *hdir, *buf, *tmp;
index 253c063..38811f5 100644 (file)
 #include <sys/poll.h>
 
 /* Experimentally off - libc_hidden_proto(ffs) */
-libc_hidden_proto(pmap_set)
-libc_hidden_proto(pmap_unset)
-libc_hidden_proto(_authenticate)
-libc_hidden_proto(_rpc_dtablesize)
+/* libc_hidden_proto(pmap_set) */
+/* libc_hidden_proto(pmap_unset) */
+/* libc_hidden_proto(_authenticate) */
+/* libc_hidden_proto(_rpc_dtablesize) */
 /* used by svc_[max_]pollfd */
-libc_hidden_proto(__rpc_thread_svc_pollfd)
-libc_hidden_proto(__rpc_thread_svc_max_pollfd)
+/* libc_hidden_proto(__rpc_thread_svc_pollfd) */
+/* libc_hidden_proto(__rpc_thread_svc_max_pollfd) */
 /* used by svc_fdset */
-libc_hidden_proto(__rpc_thread_svc_fdset)
+/* libc_hidden_proto(__rpc_thread_svc_fdset) */
 
 #ifdef __UCLIBC_HAS_THREADS__
 #define xports (*(SVCXPRT ***)&RPC_THREAD_VARIABLE(svc_xports_s))
@@ -85,7 +85,7 @@ static struct svc_callout *svc_head;
 /* ***************  SVCXPRT related stuff **************** */
 
 /* Activate a transport handle. */
-libc_hidden_proto(xprt_register)
+/* libc_hidden_proto(xprt_register) */
 void
 xprt_register (SVCXPRT *xprt)
 {
@@ -129,7 +129,7 @@ xprt_register (SVCXPRT *xprt)
 libc_hidden_def(xprt_register)
 
 /* De-activate a transport handle. */
-libc_hidden_proto(xprt_unregister)
+/* libc_hidden_proto(xprt_unregister) */
 void
 xprt_unregister (SVCXPRT *xprt)
 {
@@ -175,7 +175,7 @@ done:
 /* Add a service program to the callout list.
    The dispatch routine will be called when a rpc request for this
    program number comes in. */
-libc_hidden_proto(svc_register)
+/* libc_hidden_proto(svc_register) */
 bool_t
 svc_register (SVCXPRT * xprt, rpcprog_t prog, rpcvers_t vers,
              void (*dispatch) (struct svc_req *, SVCXPRT *),
@@ -210,7 +210,7 @@ pmap_it:
 libc_hidden_def(svc_register)
 
 /* Remove a service program from the callout list. */
-libc_hidden_proto(svc_unregister)
+/* libc_hidden_proto(svc_unregister) */
 void
 svc_unregister (rpcprog_t prog, rpcvers_t vers)
 {
@@ -235,7 +235,7 @@ libc_hidden_def(svc_unregister)
 /* ******************* REPLY GENERATION ROUTINES  ************ */
 
 /* Send a reply to an rpc request */
-libc_hidden_proto(svc_sendreply)
+/* libc_hidden_proto(svc_sendreply) */
 bool_t
 svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results,
               caddr_t xdr_location)
@@ -266,7 +266,7 @@ svcerr_noproc (register SVCXPRT *xprt)
 }
 
 /* Can't decode args error reply */
-libc_hidden_proto(svcerr_decode)
+/* libc_hidden_proto(svcerr_decode) */
 void
 svcerr_decode (register SVCXPRT *xprt)
 {
@@ -294,7 +294,7 @@ svcerr_systemerr (register SVCXPRT *xprt)
 }
 
 /* Authentication error reply */
-libc_hidden_proto(svcerr_auth)
+/* libc_hidden_proto(svcerr_auth) */
 void
 svcerr_auth (SVCXPRT *xprt, enum auth_stat why)
 {
@@ -316,7 +316,7 @@ svcerr_weakauth (SVCXPRT *xprt)
 }
 
 /* Program unavailable error reply */
-libc_hidden_proto(svcerr_noprog)
+/* libc_hidden_proto(svcerr_noprog) */
 void
 svcerr_noprog (register SVCXPRT *xprt)
 {
@@ -331,7 +331,7 @@ svcerr_noprog (register SVCXPRT *xprt)
 libc_hidden_def(svcerr_noprog)
 
 /* Program version mismatch error reply */
-libc_hidden_proto(svcerr_progvers)
+/* libc_hidden_proto(svcerr_progvers) */
 void
 svcerr_progvers (register SVCXPRT *xprt, rpcvers_t low_vers,
                 rpcvers_t high_vers)
@@ -366,7 +366,7 @@ libc_hidden_def(svcerr_progvers)
  * is mallocated in kernel land.
  */
 
-libc_hidden_proto(svc_getreq_common)
+/* libc_hidden_proto(svc_getreq_common) */
 void
 svc_getreq_common (const int fd)
 {
@@ -458,7 +458,7 @@ svc_getreq_common (const int fd)
 }
 libc_hidden_def(svc_getreq_common)
 
-libc_hidden_proto(svc_getreqset)
+/* libc_hidden_proto(svc_getreqset) */
 void
 svc_getreqset (fd_set *readfds)
 {
@@ -476,7 +476,7 @@ svc_getreqset (fd_set *readfds)
 }
 libc_hidden_def(svc_getreqset)
 
-libc_hidden_proto(svc_getreq)
+/* libc_hidden_proto(svc_getreq) */
 void
 svc_getreq (int rdfds)
 {
@@ -488,7 +488,7 @@ svc_getreq (int rdfds)
 }
 libc_hidden_def(svc_getreq)
 
-libc_hidden_proto(svc_getreq_poll)
+/* libc_hidden_proto(svc_getreq_poll) */
 void
 svc_getreq_poll (struct pollfd *pfdp, int pollretval)
 {
index 1a5dcf0..52208c1 100644 (file)
@@ -101,7 +101,7 @@ svcauthsw[] =
  * There is an assumption that any flavour less than AUTH_NULL is
  * invalid.
  */
-libc_hidden_proto(_authenticate)
+/* libc_hidden_proto(_authenticate) */
 enum auth_stat
 _authenticate (register struct svc_req *rqst, struct rpc_msg *msg)
 {
index 9f2271a..556cdde 100644 (file)
@@ -49,7 +49,7 @@
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* libc_hidden_proto(printf) */
 /* libc_hidden_proto(xdrmem_create) */
-libc_hidden_proto(xdr_authunix_parms)
+/* libc_hidden_proto(xdr_authunix_parms) */
 
 /*
  * Unix longhand authenticator
index 7f3f55b..075fbad 100644 (file)
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/svc.h>
 
 /* libc_hidden_proto(xdrmem_create) */
-libc_hidden_proto(xdr_callmsg)
+/* libc_hidden_proto(xdr_callmsg) */
 /* libc_hidden_proto(xdr_replymsg) */
 
 /*
index 7ffff07..49d52d0 100644 (file)
 #include <rpc/rpc.h>
 
 /* libc_hidden_proto(perror) */
-libc_hidden_proto(svc_getreq_poll)
+/* libc_hidden_proto(svc_getreq_poll) */
 /* libc_hidden_proto(poll) */
 /* used by svc_[max_]pollfd */
-libc_hidden_proto(__rpc_thread_svc_pollfd)
-libc_hidden_proto(__rpc_thread_svc_max_pollfd)
+/* libc_hidden_proto(__rpc_thread_svc_pollfd) */
+/* libc_hidden_proto(__rpc_thread_svc_max_pollfd) */
 
 /* This function can be used as a signal handler to terminate the
    server loop.  */
index 9373c8b..d50f014 100644 (file)
@@ -57,16 +57,16 @@ 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(memset) */
-libc_hidden_proto(asprintf)
+/* libc_hidden_proto(asprintf) */
 /* libc_hidden_proto(fputs) */
 /* libc_hidden_proto(write) */
 /* libc_hidden_proto(exit) */
-libc_hidden_proto(svc_sendreply)
-libc_hidden_proto(svc_register)
-libc_hidden_proto(svcerr_decode)
-libc_hidden_proto(svcudp_create)
-libc_hidden_proto(pmap_unset)
-libc_hidden_proto(xdr_void)
+/* libc_hidden_proto(svc_sendreply) */
+/* libc_hidden_proto(svc_register) */
+/* libc_hidden_proto(svcerr_decode) */
+/* libc_hidden_proto(svcudp_create) */
+/* libc_hidden_proto(pmap_unset) */
+/* libc_hidden_proto(xdr_void) */
 
 struct proglst_
   {
index e04c28f..0e5c5c7 100644 (file)
@@ -66,20 +66,20 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
 /* libc_hidden_proto(read) */
 /* libc_hidden_proto(write) */
 /* libc_hidden_proto(perror) */
-libc_hidden_proto(xdrrec_create)
-libc_hidden_proto(xdrrec_endofrecord)
-libc_hidden_proto(xdrrec_skiprecord)
-libc_hidden_proto(xdrrec_eof)
-libc_hidden_proto(xdr_callmsg)
+/* libc_hidden_proto(xdrrec_create) */
+/* libc_hidden_proto(xdrrec_endofrecord) */
+/* libc_hidden_proto(xdrrec_skiprecord) */
+/* libc_hidden_proto(xdrrec_eof) */
+/* libc_hidden_proto(xdr_callmsg) */
 /* libc_hidden_proto(xdr_replymsg) */
-libc_hidden_proto(xprt_register)
-libc_hidden_proto(xprt_unregister)
-libc_hidden_proto(getsockname)
-libc_hidden_proto(bind)
-libc_hidden_proto(bindresvport)
+/* libc_hidden_proto(xprt_register) */
+/* libc_hidden_proto(xprt_unregister) */
+/* libc_hidden_proto(getsockname) */
+/* libc_hidden_proto(bind) */
+/* libc_hidden_proto(bindresvport) */
 /* libc_hidden_proto(poll) */
-libc_hidden_proto(accept)
-libc_hidden_proto(listen)
+/* libc_hidden_proto(accept) */
+/* libc_hidden_proto(listen) */
 /* libc_hidden_proto(fputs) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(abort) */
index 733ec3f..866e527 100644 (file)
@@ -66,19 +66,19 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
 /* libc_hidden_proto(perror) */
 /* libc_hidden_proto(socket) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(xprt_register)
-libc_hidden_proto(xprt_unregister)
+/* libc_hidden_proto(xprt_register) */
+/* libc_hidden_proto(xprt_unregister) */
 /* libc_hidden_proto(xdrmem_create) */
-libc_hidden_proto(xdr_callmsg)
+/* libc_hidden_proto(xdr_callmsg) */
 /* libc_hidden_proto(xdr_replymsg) */
-libc_hidden_proto(getsockname)
-libc_hidden_proto(setsockopt)
-libc_hidden_proto(bind)
-libc_hidden_proto(bindresvport)
-libc_hidden_proto(recvfrom)
-libc_hidden_proto(sendto)
-libc_hidden_proto(recvmsg)
-libc_hidden_proto(sendmsg)
+/* libc_hidden_proto(getsockname) */
+/* libc_hidden_proto(setsockopt) */
+/* libc_hidden_proto(bind) */
+/* libc_hidden_proto(bindresvport) */
+/* libc_hidden_proto(recvfrom) */
+/* libc_hidden_proto(sendto) */
+/* libc_hidden_proto(recvmsg) */
+/* libc_hidden_proto(sendmsg) */
 /* libc_hidden_proto(fputs) */
 /* libc_hidden_proto(fprintf) */
 
@@ -134,7 +134,7 @@ struct svcudp_data
  * see (svc.h, xprt_register).
  * The routines returns NULL if a problem occurred.
  */
-libc_hidden_proto(svcudp_bufcreate)
+/* libc_hidden_proto(svcudp_bufcreate) */
 SVCXPRT *
 svcudp_bufcreate (int sock, u_int sendsz, u_int recvsz)
 {
@@ -226,7 +226,7 @@ svcudp_bufcreate (int sock, u_int sendsz, u_int recvsz)
 }
 libc_hidden_def(svcudp_bufcreate)
 
-libc_hidden_proto(svcudp_create)
+/* libc_hidden_proto(svcudp_create) */
 SVCXPRT *
 svcudp_create (int sock)
 {
index 03c4336..3670bb1 100644 (file)
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(perror) */
 /* libc_hidden_proto(getpid) */
-libc_hidden_proto(xdrrec_create)
-libc_hidden_proto(xdrrec_endofrecord)
-libc_hidden_proto(xdrrec_skiprecord)
-libc_hidden_proto(xdrrec_eof)
-libc_hidden_proto(xdr_callmsg)
+/* libc_hidden_proto(xdrrec_create) */
+/* libc_hidden_proto(xdrrec_endofrecord) */
+/* libc_hidden_proto(xdrrec_skiprecord) */
+/* libc_hidden_proto(xdrrec_eof) */
+/* libc_hidden_proto(xdr_callmsg) */
 /* libc_hidden_proto(xdr_replymsg) */
-libc_hidden_proto(xprt_register)
-libc_hidden_proto(xprt_unregister)
-libc_hidden_proto(getegid)
-libc_hidden_proto(geteuid)
-libc_hidden_proto(getsockname)
-libc_hidden_proto(setsockopt)
-libc_hidden_proto(bind)
-libc_hidden_proto(recvmsg)
-libc_hidden_proto(sendmsg)
+/* libc_hidden_proto(xprt_register) */
+/* libc_hidden_proto(xprt_unregister) */
+/* libc_hidden_proto(getegid) */
+/* libc_hidden_proto(geteuid) */
+/* libc_hidden_proto(getsockname) */
+/* libc_hidden_proto(setsockopt) */
+/* libc_hidden_proto(bind) */
+/* libc_hidden_proto(recvmsg) */
+/* libc_hidden_proto(sendmsg) */
 /* libc_hidden_proto(poll) */
-libc_hidden_proto(accept)
-libc_hidden_proto(listen)
+/* libc_hidden_proto(accept) */
+/* libc_hidden_proto(listen) */
 /* libc_hidden_proto(fputs) */
 /* libc_hidden_proto(abort) */
 
index 335702c..11e5213 100644 (file)
@@ -87,7 +87,7 @@ xdr_free (xdrproc_t proc, char *objp)
 /*
  * XDR nothing
  */
-libc_hidden_proto(xdr_void)
+/* libc_hidden_proto(xdr_void) */
 bool_t
 xdr_void (void)
 {
@@ -100,7 +100,7 @@ libc_hidden_def(xdr_void)
  * The definition of xdr_long() is kept for backward
  * compatibility. Instead xdr_int() should be used.
  */
-libc_hidden_proto(xdr_long)
+/* libc_hidden_proto(xdr_long) */
 bool_t
 xdr_long (XDR *xdrs, long *lp)
 {
@@ -123,7 +123,7 @@ libc_hidden_def(xdr_long)
 /*
  * XDR short integers
  */
-libc_hidden_proto(xdr_short)
+/* libc_hidden_proto(xdr_short) */
 bool_t
 xdr_short (XDR *xdrs, short *sp)
 {
@@ -153,7 +153,7 @@ libc_hidden_def(xdr_short)
 /*
  * XDR integers
  */
-libc_hidden_proto(xdr_int)
+/* libc_hidden_proto(xdr_int) */
 bool_t
 xdr_int (XDR *xdrs, int *ip)
 {
@@ -192,7 +192,7 @@ libc_hidden_def(xdr_int)
  * The definition of xdr_u_long() is kept for backward
  * compatibility. Instead xdr_u_int() should be used.
  */
-libc_hidden_proto(xdr_u_long)
+/* libc_hidden_proto(xdr_u_long) */
 bool_t
 xdr_u_long (XDR *xdrs, u_long *ulp)
 {
@@ -226,7 +226,7 @@ libc_hidden_def(xdr_u_long)
 /*
  * XDR unsigned integers
  */
-libc_hidden_proto(xdr_u_int)
+/* libc_hidden_proto(xdr_u_int) */
 bool_t
 xdr_u_int (XDR *xdrs, u_int *up)
 {
@@ -263,7 +263,7 @@ libc_hidden_def(xdr_u_int)
  * XDR hyper integers
  * same as xdr_u_hyper - open coded to save a proc call!
  */
-libc_hidden_proto(xdr_hyper)
+/* libc_hidden_proto(xdr_hyper) */
 bool_t
 xdr_hyper (XDR *xdrs, quad_t *llp)
 {
@@ -298,7 +298,7 @@ libc_hidden_def(xdr_hyper)
  * XDR hyper integers
  * same as xdr_hyper - open coded to save a proc call!
  */
-libc_hidden_proto(xdr_u_hyper)
+/* libc_hidden_proto(xdr_u_hyper) */
 bool_t
 xdr_u_hyper (XDR *xdrs, u_quad_t *ullp)
 {
@@ -343,7 +343,7 @@ xdr_u_longlong_t (XDR *xdrs, u_quad_t *ullp)
 /*
  * XDR unsigned short integers
  */
-libc_hidden_proto(xdr_u_short)
+/* libc_hidden_proto(xdr_u_short) */
 bool_t
 xdr_u_short (XDR *xdrs, u_short *usp)
 {
@@ -408,7 +408,7 @@ xdr_u_char (XDR *xdrs, u_char *cp)
 /*
  * XDR booleans
  */
-libc_hidden_proto(xdr_bool)
+/* libc_hidden_proto(xdr_bool) */
 bool_t
 xdr_bool (XDR *xdrs, bool_t *bp)
 {
@@ -438,7 +438,7 @@ libc_hidden_def(xdr_bool)
 /*
  * XDR enumerations
  */
-libc_hidden_proto(xdr_enum)
+/* libc_hidden_proto(xdr_enum) */
 bool_t
 xdr_enum (XDR *xdrs, enum_t *ep)
 {
@@ -492,7 +492,7 @@ libc_hidden_def(xdr_enum)
  * Allows the specification of a fixed size sequence of opaque bytes.
  * cp points to the opaque object and cnt gives the byte length.
  */
-libc_hidden_proto(xdr_opaque)
+/* libc_hidden_proto(xdr_opaque) */
 bool_t
 xdr_opaque (XDR *xdrs, caddr_t cp, u_int cnt)
 {
@@ -544,7 +544,7 @@ libc_hidden_def(xdr_opaque)
  * *cpp is a pointer to the bytes, *sizep is the count.
  * If *cpp is NULL maxsize bytes are allocated
  */
-libc_hidden_proto(xdr_bytes)
+/* libc_hidden_proto(xdr_bytes) */
 bool_t
 xdr_bytes (XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize)
 {
@@ -628,7 +628,7 @@ xdr_netobj (xdrs, np)
  * routine may be called.
  * If there is no specific or default routine an error is returned.
  */
-libc_hidden_proto(xdr_union)
+/* libc_hidden_proto(xdr_union) */
 bool_t
 xdr_union (XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, xdrproc_t dfault)
 {
@@ -675,7 +675,7 @@ libc_hidden_def(xdr_union)
  * storage is allocated.  The last parameter is the max allowed length
  * of the string as specified by a protocol.
  */
-libc_hidden_proto(xdr_string)
+/* libc_hidden_proto(xdr_string) */
 bool_t
 xdr_string (XDR *xdrs, char **cpp, u_int maxsize)
 {
index f8f8a1f..ec5c0b3 100644 (file)
@@ -56,7 +56,7 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* libc_hidden_proto(fputs) */
-libc_hidden_proto(xdr_u_int)
+/* libc_hidden_proto(xdr_u_int) */
 
 #define LASTUNSIGNED   ((u_int)0-1)
 
@@ -68,7 +68,7 @@ libc_hidden_proto(xdr_u_int)
  * elsize is the size (in bytes) of each element, and elproc is the
  * xdr procedure to call to handle each element of the array.
  */
-libc_hidden_proto(xdr_array)
+/* libc_hidden_proto(xdr_array) */
 bool_t
 xdr_array (XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc)
 {
index 38349f4..af5eb52 100644 (file)
@@ -146,7 +146,7 @@ static bool_t get_input_bytes (RECSTREAM *, caddr_t, int) internal_function;
  * write respectively.   They are like the system
  * calls expect that they take an opaque handle rather than an fd.
  */
-libc_hidden_proto(xdrrec_create)
+/* libc_hidden_proto(xdrrec_create) */
 void
 xdrrec_create (XDR *xdrs, u_int sendsize,
               u_int recvsize, caddr_t tcp_handle,
@@ -481,7 +481,7 @@ xdrrec_putint32 (XDR *xdrs, const int32_t *ip)
  * Before reading (deserializing from the stream, one should always call
  * this procedure to guarantee proper record alignment.
  */
-libc_hidden_proto(xdrrec_skiprecord)
+/* libc_hidden_proto(xdrrec_skiprecord) */
 bool_t
 xdrrec_skiprecord (XDR *xdrs)
 {
@@ -505,7 +505,7 @@ libc_hidden_def(xdrrec_skiprecord)
  * Returns TRUE iff there is no more input in the buffer
  * after consuming the rest of the current record.
  */
-libc_hidden_proto(xdrrec_eof)
+/* libc_hidden_proto(xdrrec_eof) */
 bool_t
 xdrrec_eof (XDR *xdrs)
 {
@@ -531,7 +531,7 @@ libc_hidden_def(xdrrec_eof)
  * (output) tcp stream.  (This lets the package support batched or
  * pipelined procedure calls.)  TRUE => immediate flush to tcp connection.
  */
-libc_hidden_proto(xdrrec_endofrecord)
+/* libc_hidden_proto(xdrrec_endofrecord) */
 bool_t
 xdrrec_endofrecord (XDR *xdrs, bool_t sendnow)
 {
index dd8c063..9cdeed1 100644 (file)
@@ -56,7 +56,7 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
 #endif
 
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(xdr_bool)
+/* libc_hidden_proto(xdr_bool) */
 /* libc_hidden_proto(fputs) */
 
 #define LASTUNSIGNED   ((u_int)0-1)
@@ -70,7 +70,7 @@ libc_hidden_proto(xdr_bool)
  * size is the size of the referneced structure.
  * proc is the routine to handle the referenced structure.
  */
-libc_hidden_proto(xdr_reference)
+/* libc_hidden_proto(xdr_reference) */
 bool_t
 xdr_reference (XDR *xdrs, caddr_t *pp, u_int size, xdrproc_t proc)
 {
index 32689e1..91ce8b8 100644 (file)
 # define fwrite(p, m, n, s) _IO_fwrite (p, m, n, s)
 #endif
 
-libc_hidden_proto(fread)
-libc_hidden_proto(fwrite)
-libc_hidden_proto(fseek)
-libc_hidden_proto(fflush)
-libc_hidden_proto(ftell)
+/* libc_hidden_proto(fread) */
+/* libc_hidden_proto(fwrite) */
+/* libc_hidden_proto(fseek) */
+/* libc_hidden_proto(fflush) */
+/* libc_hidden_proto(ftell) */
 
 static bool_t xdrstdio_getlong (XDR *, long *);
 static bool_t xdrstdio_putlong (XDR *, const long *);
index e262e03..d9103ea 100644 (file)
@@ -50,13 +50,13 @@ int __libc_accept(int s, struct sockaddr *addr, socklen_t * addrlen)
        return __socketcall(SYS_ACCEPT, args);
 }
 #endif
-libc_hidden_proto(accept)
+/* libc_hidden_proto(accept) */
 weak_alias(__libc_accept,accept)
 libc_hidden_weak(accept)
 #endif
 
 #ifdef L_bind
-libc_hidden_proto(bind)
+/* libc_hidden_proto(bind) */
 #ifdef __NR_bind
 _syscall3(int, bind, int, sockfd, const struct sockaddr *, myaddr, socklen_t, addrlen)
 #elif defined(__NR_socketcall)
@@ -89,7 +89,7 @@ int __libc_connect(int sockfd, const struct sockaddr *saddr, socklen_t addrlen)
        return __socketcall(SYS_CONNECT, args);
 }
 #endif
-libc_hidden_proto(connect)
+/* libc_hidden_proto(connect) */
 weak_alias(__libc_connect,connect)
 libc_hidden_weak(connect)
 #endif
@@ -111,7 +111,7 @@ int getpeername(int sockfd, struct sockaddr *addr, socklen_t * paddrlen)
 #endif
 
 #ifdef L_getsockname
-libc_hidden_proto(getsockname)
+/* libc_hidden_proto(getsockname) */
 #ifdef __NR_getsockname
 _syscall3(int, getsockname, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen)
 #elif defined(__NR_socketcall)
@@ -148,7 +148,7 @@ int getsockopt(int fd, int level, int optname, __ptr_t optval,
 #endif
 
 #ifdef L_listen
-libc_hidden_proto(listen)
+/* libc_hidden_proto(listen) */
 #ifdef __NR_listen
 _syscall2(int, listen, int, sockfd, int, backlog)
 #elif defined(__NR_socketcall)
@@ -183,13 +183,13 @@ ssize_t __libc_recv(int sockfd, __ptr_t buffer, size_t len, int flags)
        return (__socketcall(SYS_RECV, args));
 }
 #elif defined(__NR_recvfrom)
-libc_hidden_proto(recvfrom)
+/* libc_hidden_proto(recvfrom) */
 ssize_t __libc_recv(int sockfd, __ptr_t buffer, size_t len, int flags)
 {
        return (recvfrom(sockfd, buffer, len, flags, NULL, NULL));
 }
 #endif
-libc_hidden_proto(recv)
+/* libc_hidden_proto(recv) */
 weak_alias(__libc_recv,recv)
 libc_hidden_weak(recv)
 #endif
@@ -216,7 +216,7 @@ ssize_t __libc_recvfrom(int sockfd, __ptr_t buffer, size_t len, int flags,
        return (__socketcall(SYS_RECVFROM, args));
 }
 #endif
-libc_hidden_proto(recvfrom)
+/* libc_hidden_proto(recvfrom) */
 weak_alias(__libc_recvfrom,recvfrom)
 libc_hidden_weak(recvfrom)
 #endif
@@ -237,7 +237,7 @@ ssize_t __libc_recvmsg(int sockfd, struct msghdr *msg, int flags)
        return (__socketcall(SYS_RECVMSG, args));
 }
 #endif
-libc_hidden_proto(recvmsg)
+/* libc_hidden_proto(recvmsg) */
 weak_alias(__libc_recvmsg,recvmsg)
 libc_hidden_weak(recvmsg)
 #endif
@@ -260,13 +260,13 @@ ssize_t __libc_send(int sockfd, const void *buffer, size_t len, int flags)
        return (__socketcall(SYS_SEND, args));
 }
 #elif defined(__NR_sendto)
-libc_hidden_proto(sendto)
+/* libc_hidden_proto(sendto) */
 ssize_t __libc_send(int sockfd, const void *buffer, size_t len, int flags)
 {
        return (sendto(sockfd, buffer, len, flags, NULL, 0));
 }
 #endif
-libc_hidden_proto(send)
+/* libc_hidden_proto(send) */
 weak_alias(__libc_send,send)
 libc_hidden_weak(send)
 #endif
@@ -287,7 +287,7 @@ ssize_t __libc_sendmsg(int sockfd, const struct msghdr *msg, int flags)
        return (__socketcall(SYS_SENDMSG, args));
 }
 #endif
-libc_hidden_proto(sendmsg)
+/* libc_hidden_proto(sendmsg) */
 weak_alias(__libc_sendmsg,sendmsg)
 libc_hidden_weak(sendmsg)
 #endif
@@ -314,13 +314,13 @@ ssize_t __libc_sendto(int sockfd, const void *buffer, size_t len, int flags,
        return (__socketcall(SYS_SENDTO, args));
 }
 #endif
-libc_hidden_proto(sendto)
+/* libc_hidden_proto(sendto) */
 weak_alias(__libc_sendto,sendto)
 libc_hidden_weak(sendto)
 #endif
 
 #ifdef L_setsockopt
-libc_hidden_proto(setsockopt)
+/* libc_hidden_proto(setsockopt) */
 #ifdef __NR_setsockopt
 _syscall5(int, setsockopt, int, fd, int, level, int, optname, const void *, optval, socklen_t, optlen)
 #elif defined(__NR_socketcall)
index d00cdfa..c613292 100644 (file)
@@ -40,7 +40,7 @@
 #include <assert.h>
 #undef assert
 
-libc_hidden_proto(__assert)
+/* libc_hidden_proto(__assert) */
 
 #define ASSERT_SHOW_PROGNAME 1
 
index 9c863e7..fe2cfb6 100644 (file)
@@ -307,7 +307,7 @@ libc_hidden_def(tolower)
 #ifdef L_tolower_l
 
 #undef tolower_l
-libc_hidden_proto(tolower_l)
+/* libc_hidden_proto(tolower_l) */
 int tolower_l(int c, __locale_t l)
 {
 #if defined(__UCLIBC_HAS_CTYPE_ENFORCED__)
@@ -326,7 +326,7 @@ weak_alias (tolower_l, __tolower_l)
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_toupper_loc) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(__ctype_toupper)
+/* libc_hidden_proto(__ctype_toupper) */
 #endif
 /* libc_hidden_proto(toupper) */
 #ifdef __UCLIBC_HAS_CTYPE_TABLES__
@@ -354,7 +354,7 @@ libc_hidden_def(toupper)
 #ifdef L_toupper_l
 
 #undef toupper_l
-libc_hidden_proto(toupper_l)
+/* libc_hidden_proto(toupper_l) */
 int toupper_l(int c, __locale_t l)
 {
 #if defined(__UCLIBC_HAS_CTYPE_ENFORCED__)
@@ -379,7 +379,7 @@ int __XL_NPP(isascii)(int c)
 
 #else  /* __UCLIBC_HAS_CTYPE_TABLES__ */
 
-libc_hidden_proto(isascii)
+/* libc_hidden_proto(isascii) */
 int isascii(int c)
 {
        return __isascii(c);            /* locale-independent */
@@ -468,6 +468,8 @@ libc_hidden_def(__ctype_toupper_loc)
 /**********************************************************************/
 #ifdef L___C_ctype_b
 
+//vda:TODO:make static
+
 extern const __ctype_mask_t __C_ctype_b_data[];
 libc_hidden_proto(__C_ctype_b_data)
 const __ctype_mask_t __C_ctype_b_data[] = {
@@ -875,6 +877,8 @@ libc_hidden_data_def(__ctype_b)
 /**********************************************************************/
 #ifdef L___C_ctype_tolower
 
+//vda:TODO: make static
+
 extern const __ctype_touplow_t __C_ctype_tolower_data[];
 libc_hidden_proto(__C_ctype_tolower_data)
 const __ctype_touplow_t __C_ctype_tolower_data[] = {
@@ -980,15 +984,15 @@ const __ctype_touplow_t __C_ctype_tolower_data[] = {
 libc_hidden_data_def(__C_ctype_tolower_data)
 
 /* libc_hidden_proto(__C_ctype_tolower) */
-const __ctype_touplow_t *__C_ctype_tolower = __C_ctype_tolower_data
-                                                                                       + __UCLIBC_CTYPE_TO_TBL_OFFSET;
+const __ctype_touplow_t *__C_ctype_tolower =
+               __C_ctype_tolower_data + __UCLIBC_CTYPE_TO_TBL_OFFSET;
 libc_hidden_data_def(__C_ctype_tolower)
 
 #ifndef __UCLIBC_HAS_XLOCALE__
 
 /* libc_hidden_proto(__ctype_tolower) */
-const __ctype_touplow_t *__ctype_tolower = __C_ctype_tolower_data
-                                                                                       + __UCLIBC_CTYPE_TO_TBL_OFFSET;
+const __ctype_touplow_t *__ctype_tolower =
+               __C_ctype_tolower_data + __UCLIBC_CTYPE_TO_TBL_OFFSET;
 libc_hidden_data_def(__ctype_tolower)
 
 #endif
@@ -997,6 +1001,8 @@ libc_hidden_data_def(__ctype_tolower)
 /**********************************************************************/
 #ifdef L___C_ctype_toupper
 
+//vda:TODO: make static
+
 extern const __ctype_touplow_t __C_ctype_toupper_data[];
 libc_hidden_proto(__C_ctype_toupper_data)
 const __ctype_touplow_t __C_ctype_toupper_data[] = {
@@ -1102,15 +1108,15 @@ const __ctype_touplow_t __C_ctype_toupper_data[] = {
 libc_hidden_data_def(__C_ctype_toupper_data)
 
 /* libc_hidden_proto(__C_ctype_toupper) */
-const __ctype_touplow_t *__C_ctype_toupper = __C_ctype_toupper_data
-                                                                                       + __UCLIBC_CTYPE_TO_TBL_OFFSET;
+const __ctype_touplow_t *__C_ctype_toupper =
+               __C_ctype_toupper_data + __UCLIBC_CTYPE_TO_TBL_OFFSET;
 libc_hidden_data_def(__C_ctype_toupper)
 
 #ifndef __UCLIBC_HAS_XLOCALE__
 
-libc_hidden_proto(__ctype_toupper)
-const __ctype_touplow_t *__ctype_toupper = __C_ctype_toupper_data
-                                                                                       + __UCLIBC_CTYPE_TO_TBL_OFFSET;
+/* libc_hidden_proto(__ctype_toupper) */
+const __ctype_touplow_t *__ctype_toupper =
+               __C_ctype_toupper_data + __UCLIBC_CTYPE_TO_TBL_OFFSET;
 libc_hidden_data_def(__ctype_toupper)
 
 #endif
index 33ef609..466e600 100644 (file)
@@ -10,7 +10,7 @@
 #include <unistd.h>
 #include "dirstream.h"
 
-libc_hidden_proto(closedir)
+/* libc_hidden_proto(closedir) */
 /* libc_hidden_proto(close) */
 
 int closedir(DIR * dir)
index c6f46e9..e5b41bc 100644 (file)
@@ -8,7 +8,7 @@
 #include <errno.h>
 #include "dirstream.h"
 
-libc_hidden_proto(dirfd)
+/* libc_hidden_proto(dirfd) */
 
 int dirfd(DIR * dir)
 {
index 4a5a562..50e4082 100644 (file)
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 #include "dirstream.h"
 
-libc_hidden_proto(opendir)
+/* libc_hidden_proto(opendir) */
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(fcntl) */
 /* libc_hidden_proto(close) */
index 2fb7a72..e92c4ad 100644 (file)
@@ -13,7 +13,7 @@
 #include <dirent.h>
 #include "dirstream.h"
 
-libc_hidden_proto(readdir)
+/* libc_hidden_proto(readdir) */
 
 struct dirent *readdir(DIR * dir)
 {
index e8a29da..3aaef51 100644 (file)
@@ -13,7 +13,7 @@
 #include <dirent.h>
 #include "dirstream.h"
 
-libc_hidden_proto(readdir64)
+/* libc_hidden_proto(readdir64) */
 struct dirent64 *readdir64(DIR * dir)
 {
        ssize_t bytes;
index 2958b1d..d394fdb 100644 (file)
@@ -15,7 +15,7 @@
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 
-libc_hidden_proto(readdir64_r)
+/* libc_hidden_proto(readdir64_r) */
 int readdir64_r(DIR *dir, struct dirent64 *entry, struct dirent64 **result)
 {
        int ret;
index 194af62..51f483b 100644 (file)
@@ -13,7 +13,7 @@
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 
-libc_hidden_proto(readdir_r)
+/* libc_hidden_proto(readdir_r) */
 int readdir_r(DIR *dir, struct dirent *entry, struct dirent **result)
 {
        int ret;
index 9b0f738..9f10554 100644 (file)
 #include "dirstream.h"
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(closedir)
-libc_hidden_proto(qsort)
-libc_hidden_proto(readdir)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(qsort) */
+/* libc_hidden_proto(readdir) */
 
 int scandir(const char *dir, struct dirent ***namelist,
        int (*selector) (const struct dirent *),
index de294c6..bbd452d 100644 (file)
 #include "dirstream.h"
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(closedir)
-libc_hidden_proto(qsort)
-libc_hidden_proto(readdir64)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(qsort) */
+/* libc_hidden_proto(readdir64) */
 
 int scandir64(const char *dir, struct dirent64 ***namelist,
        int (*selector) (const struct dirent64 *),
index 5664104..d30efbe 100644 (file)
 
 #if defined __USE_BSD
 
-libc_hidden_proto(vwarn)
-libc_hidden_proto(vwarnx)
-libc_hidden_proto(verr)
-libc_hidden_proto(verrx)
+/* libc_hidden_proto(vwarn) */
+/* libc_hidden_proto(vwarnx) */
+/* libc_hidden_proto(verr) */
+/* libc_hidden_proto(verrx) */
 
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(vfprintf) */
-libc_hidden_proto(__xpg_strerror_r)
+/* libc_hidden_proto(__xpg_strerror_r) */
 /* libc_hidden_proto(exit) */
 /* libc_hidden_proto(vfprintf) */
 
index 3cf8d34..7518ff5 100644 (file)
 /* Experimentally off - libc_hidden_proto(strerror) */
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(exit) */
-libc_hidden_proto(putc)
+/* libc_hidden_proto(putc) */
 /* libc_hidden_proto(vfprintf) */
-libc_hidden_proto(fflush)
-libc_hidden_proto(fputc)
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(fflush) */
+/* libc_hidden_proto(fputc) */
+/* libc_hidden_proto(__fputc_unlocked) */
 
 /* This variable is incremented each time `error' is called.  */
 unsigned int error_message_count = 0;
index bf14808..58fcdad 100644 (file)
@@ -24,7 +24,7 @@
 #include <errno.h>
 #include <string.h>
 
-libc_hidden_proto(lockf)
+/* libc_hidden_proto(lockf) */
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* libc_hidden_proto(fcntl) */
index ba38873..e4f6f5c 100644 (file)
@@ -32,7 +32,7 @@
 #define F_GETLK F_GETLK64
 #undef F_SETLK
 #define F_SETLK F_SETLK64
-libc_hidden_proto(fcntl64)
+/* libc_hidden_proto(fcntl64) */
 #else
 /* libc_hidden_proto(fcntl) */
 #endif
@@ -42,7 +42,7 @@ libc_hidden_proto(fcntl64)
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */
 
-libc_hidden_proto(lockf64)
+/* libc_hidden_proto(lockf64) */
 int lockf64 (int fd, int cmd, off64_t len64)
 {
     struct flock fl;
index 559a3ca..2256cb8 100644 (file)
@@ -72,7 +72,7 @@
 /* libc_hidden_proto(__ctype_tolower) */
 #endif
 /* libc_hidden_proto(tolower) */
-libc_hidden_proto(fnmatch)
+/* libc_hidden_proto(fnmatch) */
 /* libc_hidden_proto(getenv) */
 #endif
 
@@ -83,19 +83,19 @@ libc_hidden_proto(fnmatch)
 # include <wchar.h>
 # include <wctype.h>
 # ifdef __UCLIBC__
-libc_hidden_proto(wctype)
-libc_hidden_proto(iswctype)
-libc_hidden_proto(btowc)
+/* libc_hidden_proto(wctype) */
+/* libc_hidden_proto(iswctype) */
+/* libc_hidden_proto(btowc) */
 #  ifdef __UCLIBC_HAS_LOCALE__
-libc_hidden_proto(wmemchr)
-libc_hidden_proto(wmempcpy)
-libc_hidden_proto(wcscat)
+/* libc_hidden_proto(wmemchr) */
+/* libc_hidden_proto(wmempcpy) */
+/* libc_hidden_proto(wcscat) */
 /*libc_hidden_proto(wcschr)*/
 /*libc_hidden_proto(wcschrnul)*/
-libc_hidden_proto(wcslen)
-libc_hidden_proto(wcscoll)
-libc_hidden_proto(towlower)
-libc_hidden_proto(mbsrtowcs)
+/* libc_hidden_proto(wcslen) */
+/* libc_hidden_proto(wcscoll) */
+/* libc_hidden_proto(towlower) */
+/* libc_hidden_proto(mbsrtowcs) */
 #  endif
 # endif
 #endif
@@ -369,7 +369,7 @@ is_char_class (const wchar_t *wcs)
 # endif
 
 #ifdef __UCLIBC_HAS_WCHAR__
-libc_hidden_proto(_stdlib_mb_cur_max)
+/* libc_hidden_proto(_stdlib_mb_cur_max) */
 #else
 #undef MB_CUR_MAX
 #define MB_CUR_MAX 1
index 020d97b..839c775 100644 (file)
@@ -23,7 +23,7 @@ Cambridge, MA 02139, USA.  */
 #include <fnmatch.h>
 #include <ctype.h>
 
-libc_hidden_proto(fnmatch)
+/* libc_hidden_proto(fnmatch) */
 
 /* libc_hidden_proto(tolower) */
 /* Comment out all this code if we are using the GNU C Library, and are not
index a3a2002..afc55f8 100644 (file)
@@ -86,21 +86,21 @@ char *alloca ();
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(dirfd)
-libc_hidden_proto(tsearch)
-libc_hidden_proto(tfind)
-libc_hidden_proto(tdestroy)
-libc_hidden_proto(getcwd)
-libc_hidden_proto(chdir)
-libc_hidden_proto(fchdir)
+/* libc_hidden_proto(dirfd) */
+/* libc_hidden_proto(tsearch) */
+/* libc_hidden_proto(tfind) */
+/* libc_hidden_proto(tdestroy) */
+/* libc_hidden_proto(getcwd) */
+/* libc_hidden_proto(chdir) */
+/* libc_hidden_proto(fchdir) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
-libc_hidden_proto(opendir)
+/* libc_hidden_proto(opendir) */
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(readdir64)
-libc_hidden_proto(lstat64)
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(readdir64) */
+/* libc_hidden_proto(lstat64) */
+/* libc_hidden_proto(stat64) */
 #endif
-libc_hidden_proto(closedir)
+/* libc_hidden_proto(closedir) */
 /* Experimentally off - libc_hidden_proto(stpcpy) */
 /* libc_hidden_proto(lstat) */
 /* libc_hidden_proto(stat) */
index b1f1a6a..8ee0f1a 100644 (file)
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(closedir)
-libc_hidden_proto(qsort)
-libc_hidden_proto(fnmatch)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(qsort) */
+/* libc_hidden_proto(fnmatch) */
 
 struct match
 {
@@ -53,11 +53,11 @@ extern int __glob_match_in_dir(const char *d, const char *p, int flags, int (*er
 # define stat stat64
 # define readdir_r readdir64_r
 # define dirent dirent64
-libc_hidden_proto(readdir64_r)
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(readdir64_r) */
+/* libc_hidden_proto(stat64) */
 # define struct_stat struct stat64
 #else
-libc_hidden_proto(readdir_r)
+/* libc_hidden_proto(readdir_r) */
 /* libc_hidden_proto(stat) */
 # define struct_stat struct stat
 #endif
@@ -224,9 +224,9 @@ int __glob_sort(const void *a, const void *b)
 #endif /* !__GLOB64 */
 
 #ifdef __GLOB64
-libc_hidden_proto(glob64)
+/* libc_hidden_proto(glob64) */
 #else
-libc_hidden_proto(glob)
+/* libc_hidden_proto(glob) */
 #endif
 int glob(const char *pat, int flags, int (*errfunc)(const char *path, int err), glob_t *g)
 {
@@ -302,9 +302,9 @@ libc_hidden_def(glob)
 #endif
 
 #ifdef __GLOB64
-libc_hidden_proto(globfree64)
+/* libc_hidden_proto(globfree64) */
 #else
-libc_hidden_proto(globfree)
+/* libc_hidden_proto(globfree) */
 #endif
 void globfree(glob_t *g)
 {
index abc75de..5736f49 100644 (file)
 #include <fnmatch.h>
 #include <glob.h>
 
-libc_hidden_proto(closedir)
-libc_hidden_proto(fnmatch)
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(fnmatch) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(qsort)
-libc_hidden_proto(readdir)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(qsort) */
+/* libc_hidden_proto(readdir) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strcoll) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
@@ -48,7 +48,7 @@ libc_hidden_proto(readdir)
 
 #ifdef ENABLE_GLOB_TILDE_EXPANSION
 #include <pwd.h>
-libc_hidden_proto(getpwnam_r)
+/* libc_hidden_proto(getpwnam_r) */
 #endif
 
 #ifdef COMPILE_GLOB64
@@ -62,13 +62,13 @@ libc_hidden_proto(getpwnam_r)
 #define glob_t glob64_t
 #define glob(pattern, flags, errfunc, pglob) glob64 (pattern, flags, errfunc, pglob)
 #define globfree(pglob) globfree64 (pglob)
-libc_hidden_proto(stat64)
-libc_hidden_proto(readdir64)
+/* libc_hidden_proto(stat64) */
+/* libc_hidden_proto(readdir64) */
 #else
 #define __readdir readdir
 #ifdef __UCLIBC_HAS_LFS__
 #define __readdir64 readdir64
-libc_hidden_proto(readdir64)
+/* libc_hidden_proto(readdir64) */
 #else
 #define __readdir64 readdir
 #endif
@@ -132,7 +132,7 @@ extern int __prefix_array (const char *dirname, char **array, size_t n) attribut
 extern const char *__next_brace_sub (const char *cp, int flags) attribute_hidden;
 #endif
 
-libc_hidden_proto(glob_pattern_p)
+/* libc_hidden_proto(glob_pattern_p) */
 #ifndef COMPILE_GLOB64
 /* Return nonzero if PATTERN contains any metacharacters.
    Metacharacters can be quoted with backslashes if QUOTE is nonzero.  */
@@ -489,11 +489,11 @@ static int glob_in_dir (const char *pattern, const char *directory, int flags,
 }
 
 #ifdef COMPILE_GLOB64
-libc_hidden_proto(glob64)
-libc_hidden_proto(globfree64)
+/* libc_hidden_proto(glob64) */
+/* libc_hidden_proto(globfree64) */
 #else
-libc_hidden_proto(glob)
-libc_hidden_proto(globfree)
+/* libc_hidden_proto(glob) */
+/* libc_hidden_proto(globfree) */
 #endif
 /* Do glob searching for PATTERN, placing results in PGLOB.
    The bits defined above may be set in FLAGS.
index a44bf60..4401ba2 100644 (file)
@@ -6,8 +6,8 @@
 
 #include "internal_errno.h"
 
-/* psm: moved to bits/errno.h: libc_hidden_proto(__errno_location) */
-libc_hidden_proto(__errno_location)
+/* psm: moved to bits/errno.h: */
+/* libc_hidden_proto(__errno_location) */
 int * weak_const_function __errno_location (void)
 {
     return &errno;
index 2ac2177..f4a587e 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "internal_errno.h"
 
-libc_hidden_proto(__h_errno_location)
+/* libc_hidden_proto(__h_errno_location) */
 int * weak_const_function __h_errno_location (void)
 {
     return &h_errno;
index af4bfac..5f31e34 100644 (file)
 #endif
 #ifndef __ARCH_HAS_NO_LDSO__
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(getgid)
-libc_hidden_proto(getuid)
-libc_hidden_proto(getegid)
-libc_hidden_proto(geteuid)
+/* libc_hidden_proto(getgid) */
+/* libc_hidden_proto(getuid) */
+/* libc_hidden_proto(getegid) */
+/* libc_hidden_proto(geteuid) */
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(abort) */
 
index fcf143f..20b26b2 100644 (file)
@@ -1,8 +1,8 @@
 #include "internal_errno.h"
 
 #ifdef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(errno)
-libc_hidden_proto(h_errno)
+/* libc_hidden_proto(errno) */
+/* libc_hidden_proto(h_errno) */
 #endif
 int errno = 0;
 int h_errno = 0;
index 8ce2775..10d0004 100644 (file)
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* libc_hidden_proto(sprintf) */
-libc_hidden_proto(mkdir)
+/* libc_hidden_proto(mkdir) */
 /* libc_hidden_proto(open) */
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(open64)
+/* libc_hidden_proto(open64) */
 #endif
 /* libc_hidden_proto(read) */
 /* libc_hidden_proto(close) */
index c1f91bc..71bd779 100644 (file)
@@ -194,7 +194,7 @@ static const char utf8[] = "UTF-8";
 static char hr_locale[(MAX_LOCALE_CATEGORY_STR * LC_ALL) + MAX_LOCALE_STR];
 
 /* Experimentally off - libc_hidden_proto(stpcpy) */
-libc_hidden_proto(newlocale)
+/* libc_hidden_proto(newlocale) */
 
 static void update_hr_locale(const unsigned char *spec)
 {
@@ -303,7 +303,7 @@ char *setlocale(int category, const char *locale)
  * placement of the fields in the struct.  If necessary, we could ensure
  * this usings an array of offsets but at some size cost. */
 
-libc_hidden_proto(localeconv)
+/* libc_hidden_proto(localeconv) */
 
 #ifdef __LOCALE_C_ONLY
 
@@ -369,7 +369,7 @@ libc_hidden_def(localeconv)
 #ifndef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b) */
 /* libc_hidden_proto(__ctype_tolower) */
-libc_hidden_proto(__ctype_toupper)
+/* libc_hidden_proto(__ctype_toupper) */
 #endif
 
 __uclibc_locale_t __global_locale_data;
@@ -1026,7 +1026,7 @@ static const unsigned char nl_data[C_LC_ALL + 1 + 90 + 320] = {
           ']', '\x00',    '^',    '[',    'n',    'N',    ']', '\x00',
 };
 
-libc_hidden_proto(nl_langinfo)
+/* libc_hidden_proto(nl_langinfo) */
 char *nl_langinfo(nl_item item)
 {
        unsigned int c;
@@ -1046,9 +1046,9 @@ libc_hidden_def(nl_langinfo)
 
 #if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
 
-libc_hidden_proto(nl_langinfo)
+/* libc_hidden_proto(nl_langinfo) */
 
-libc_hidden_proto(nl_langinfo_l)
+/* libc_hidden_proto(nl_langinfo_l) */
 
 char *nl_langinfo(nl_item item)
 {
@@ -1085,7 +1085,7 @@ libc_hidden_def(__XL_NPP(nl_langinfo))
 #ifdef L_newlocale
 
 /* Experimentally off - libc_hidden_proto(stpcpy) */
-libc_hidden_proto(newlocale)
+/* libc_hidden_proto(newlocale) */
 
 #ifdef __UCLIBC_MJN3_ONLY__
 #warning TODO: Move posix and utf8 strings.
@@ -1330,7 +1330,7 @@ libc_hidden_def(newlocale)
 /**********************************************************************/
 #ifdef L_duplocale
 
-libc_hidden_proto(duplocale)
+/* libc_hidden_proto(duplocale) */
 
 #ifdef __UCLIBC_MJN3_ONLY__
 #warning REMINDER: When we allocate ctype tables, remember to dup them.
index 9730b52..55f672a 100644 (file)
 
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
 
-libc_hidden_proto(getmntent_r)
-libc_hidden_proto(setmntent)
-libc_hidden_proto(endmntent)
+/* libc_hidden_proto(getmntent_r) */
+/* libc_hidden_proto(setmntent) */
+/* libc_hidden_proto(endmntent) */
 
 /* Experimentally off - libc_hidden_proto(strstr) */
 /* Experimentally off - libc_hidden_proto(strtok_r) */
-libc_hidden_proto(atoi)
+/* libc_hidden_proto(atoi) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(fseek)
+/* libc_hidden_proto(fseek) */
 /* libc_hidden_proto(fgets) */
 /* libc_hidden_proto(abort) */
 /* libc_hidden_proto(fprintf) */
index 210ae05..0b3b585 100644 (file)
@@ -806,7 +806,7 @@ re_compile_internal (regex_t *preg, const char * pattern, size_t length,
    as the initial length of some arrays.  */
 
 #ifdef __UCLIBC_HAS_WCHAR__
-libc_hidden_proto(_stdlib_mb_cur_max)
+/* libc_hidden_proto(_stdlib_mb_cur_max) */
 #endif
 
 static reg_errcode_t
index 2dc1967..623a3c6 100644 (file)
 #define __wcrtomb wcrtomb
 #define __btowc btowc
 #define __wctype wctype
-libc_hidden_proto(wcscoll)
-libc_hidden_proto(wcrtomb)
-libc_hidden_proto(mbrtowc)
-libc_hidden_proto(iswctype)
-libc_hidden_proto(iswlower)
-libc_hidden_proto(iswalnum)
-libc_hidden_proto(towlower)
-libc_hidden_proto(towupper)
-libc_hidden_proto(mbsinit)
-libc_hidden_proto(btowc)
-libc_hidden_proto(wctype)
+/* libc_hidden_proto(wcscoll) */
+/* libc_hidden_proto(wcrtomb) */
+/* libc_hidden_proto(mbrtowc) */
+/* libc_hidden_proto(iswctype) */
+/* libc_hidden_proto(iswlower) */
+/* libc_hidden_proto(iswalnum) */
+/* libc_hidden_proto(towlower) */
+/* libc_hidden_proto(towupper) */
+/* libc_hidden_proto(mbsinit) */
+/* libc_hidden_proto(btowc) */
+/* libc_hidden_proto(wctype) */
 
 #endif
 
@@ -71,9 +71,9 @@ libc_hidden_proto(wctype)
 /* libc_hidden_proto(__ctype_toupper_loc) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__ctype_b) */
-libc_hidden_proto(__ctype_toupper)
+/* libc_hidden_proto(__ctype_toupper) */
 #else
-libc_hidden_proto(isascii)
+/* libc_hidden_proto(isascii) */
 #endif
 /* libc_hidden_proto(toupper) */
 /* libc_hidden_proto(tolower) */
index 725e33a..f0499ca 100644 (file)
@@ -29,7 +29,7 @@
 
 #if defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined _LIBC
 # include <langinfo.h>
-libc_hidden_proto(nl_langinfo)
+/* libc_hidden_proto(nl_langinfo) */
 #endif
 #if defined HAVE_LOCALE_H || defined _LIBC
 # include <locale.h>
index e8201e9..76350fc 100644 (file)
 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.  */
 #  include <wchar.h>
 #  include <wctype.h>
-libc_hidden_proto(wcslen)
-libc_hidden_proto(mbrtowc)
-libc_hidden_proto(wcrtomb)
-libc_hidden_proto(wcscoll)
-libc_hidden_proto(wctype)
-libc_hidden_proto(iswctype)
-libc_hidden_proto(iswalnum)
-libc_hidden_proto(btowc)
+/* libc_hidden_proto(wcslen) */
+/* libc_hidden_proto(mbrtowc) */
+/* libc_hidden_proto(wcrtomb) */
+/* libc_hidden_proto(wcscoll) */
+/* libc_hidden_proto(wctype) */
+/* libc_hidden_proto(iswctype) */
+/* libc_hidden_proto(iswalnum) */
+/* libc_hidden_proto(btowc) */
 
 # endif
 
index c9c4a9c..85475cf 100644 (file)
@@ -64,7 +64,7 @@ static int isprime (unsigned int number)
    indexing as explained in the comment for the hsearch function.
    The contents of the table is zeroed, especially the field used
    becomes zero.  */
-libc_hidden_proto(hcreate_r)
+/* libc_hidden_proto(hcreate_r) */
 int hcreate_r (size_t nel, struct hsearch_data *htab)
 {
   /* Test for correct arguments.  */
@@ -100,7 +100,7 @@ libc_hidden_def(hcreate_r)
 #ifdef L_hdestroy_r
 /* After using the hash table it has to be destroyed. The used memory can
    be freed and the local static variable can be marked as not used.  */
-libc_hidden_proto(hdestroy_r)
+/* libc_hidden_proto(hdestroy_r) */
 void hdestroy_r (struct hsearch_data *htab)
 {
   /* Test for correct arguments.  */
@@ -137,7 +137,7 @@ libc_hidden_def(hdestroy_r)
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 
-libc_hidden_proto(hsearch_r)
+/* libc_hidden_proto(hsearch_r) */
 int hsearch_r (ENTRY item, ACTION action, ENTRY **retval,
               struct hsearch_data *htab)
 {
index e446489..da737ba 100644 (file)
@@ -12,7 +12,7 @@
 #include <stdio.h>
 #include <search.h>
 
-libc_hidden_proto(lfind)
+/* libc_hidden_proto(lfind) */
 
 #ifdef L_lfind
 
index 3d43aa5..5f3706d 100644 (file)
@@ -50,7 +50,7 @@ register node **rootp;         address of tree root
 int    (*compar)();             ordering function
 */
 
-libc_hidden_proto(tsearch)
+/* libc_hidden_proto(tsearch) */
 void *tsearch(__const void *key, void **vrootp, __compar_fn_t compar)
 {
     register node *q;
@@ -81,7 +81,7 @@ libc_hidden_def(tsearch)
 #endif
 
 #ifdef L_tfind
-libc_hidden_proto(tfind)
+/* libc_hidden_proto(tfind) */
 void *tfind(__const void *key, void * __const *vrootp, __compar_fn_t compar)
 {
     register node **rootp = (node **) vrootp;
@@ -208,7 +208,7 @@ tdestroy_recurse (node *root, __free_fn_t freefct)
     free (root);
 }
 
-libc_hidden_proto(tdestroy)
+/* libc_hidden_proto(tdestroy) */
 void tdestroy (void *vroot, __free_fn_t freefct)
 {
     node *root = (node *) vroot;
index b1228e2..3ecc425 100644 (file)
@@ -19,9 +19,9 @@
 
 #include <search.h>
 
-libc_hidden_proto(hdestroy_r)
-libc_hidden_proto(hsearch_r)
-libc_hidden_proto(hcreate_r)
+/* libc_hidden_proto(hdestroy_r) */
+/* libc_hidden_proto(hsearch_r) */
+/* libc_hidden_proto(hcreate_r) */
 
 /* The non-reentrant version use a global space for storing the table.  */
 static struct hsearch_data htab;
index dfd0279..dc60273 100644 (file)
@@ -30,7 +30,7 @@ extern __typeof(fstatfs) __libc_fstatfs;
 libc_hidden_proto(__libc_fstatfs)
 
 /* Return information about the filesystem on which FD resides.  */
-libc_hidden_proto(fstatfs64)
+/* libc_hidden_proto(fstatfs64) */
 int fstatfs64 (int fd, struct statfs64 *buf)
 {
     struct statfs buf32;
index 9f2d1ed..547a9c3 100644 (file)
@@ -30,9 +30,9 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strsep) */
-libc_hidden_proto(setmntent)
-libc_hidden_proto(getmntent_r)
-libc_hidden_proto(endmntent)
+/* libc_hidden_proto(setmntent) */
+/* libc_hidden_proto(getmntent_r) */
+/* libc_hidden_proto(endmntent) */
 /* libc_hidden_proto(stat) */
 
 #ifndef __USE_FILE_OFFSET64
@@ -51,7 +51,7 @@ extern __typeof(fstatfs) __libc_fstatfs;
 libc_hidden_proto(__libc_fstatfs)
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(stat) */
-libc_hidden_proto(fstatvfs)
+/* libc_hidden_proto(fstatvfs) */
 
 int fstatvfs (int fd, struct statvfs *buf)
 {
index 906eed3..f068362 100644 (file)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strsep) */
-libc_hidden_proto(setmntent)
-libc_hidden_proto(getmntent_r)
-libc_hidden_proto(endmntent)
+/* libc_hidden_proto(setmntent) */
+/* libc_hidden_proto(getmntent_r) */
+/* libc_hidden_proto(endmntent) */
 
 #undef stat
 #define stat stat64
 #if !defined __UCLIBC_LINUX_SPECIFIC__
-libc_hidden_proto(fstatvfs)
+/* libc_hidden_proto(fstatvfs) */
 #else
-libc_hidden_proto(fstatfs64)
+/* libc_hidden_proto(fstatfs64) */
 #endif
-libc_hidden_proto(fstat64)
+/* libc_hidden_proto(fstat64) */
 /* libc_hidden_proto(stat) */
 
 int fstatvfs64 (int fd, struct statvfs64 *buf)
index 6b3558b..c73c6ae 100644 (file)
@@ -28,7 +28,7 @@ extern __typeof(statfs) __libc_statfs;
 libc_hidden_proto(__libc_statfs)
 
 /* Return information about the filesystem on which FILE resides.  */
-libc_hidden_proto(statfs64)
+/* libc_hidden_proto(statfs64) */
 int statfs64 (const char *file, struct statfs64 *buf)
 {
     struct statfs buf32;
index 795f19e..9bfbe6e 100644 (file)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strsep) */
-libc_hidden_proto(setmntent)
-libc_hidden_proto(getmntent_r)
-libc_hidden_proto(endmntent)
+/* libc_hidden_proto(setmntent) */
+/* libc_hidden_proto(getmntent_r) */
+/* libc_hidden_proto(endmntent) */
 
 extern __typeof(statfs) __libc_statfs;
 libc_hidden_proto(__libc_statfs)
 /* libc_hidden_proto(stat) */
 
-libc_hidden_proto(statvfs)
+/* libc_hidden_proto(statvfs) */
 int statvfs (const char *file, struct statvfs *buf)
 {
     struct statfs fsbuf;
index 008ba78..3f1defe 100644 (file)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strsep) */
-libc_hidden_proto(setmntent)
-libc_hidden_proto(getmntent_r)
-libc_hidden_proto(endmntent)
+/* libc_hidden_proto(setmntent) */
+/* libc_hidden_proto(getmntent_r) */
+/* libc_hidden_proto(endmntent) */
 
 #undef stat
 #define stat stat64
 #if defined __UCLIBC_LINUX_SPECIFIC__
-libc_hidden_proto(statfs64)
+/* libc_hidden_proto(statfs64) */
 #else
-libc_hidden_proto(statvfs)
+/* libc_hidden_proto(statvfs) */
 #endif
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(stat64) */
 
 int statvfs64 (const char *file, struct statvfs64 *buf)
 {
index 508cd71..ccc71dd 100644 (file)
 #include <ctype.h>
 #include <signal.h>
 
-libc_hidden_proto(openlog)
-libc_hidden_proto(syslog)
-libc_hidden_proto(vsyslog)
-libc_hidden_proto(closelog)
+/* libc_hidden_proto(openlog) */
+/* libc_hidden_proto(syslog) */
+/* libc_hidden_proto(vsyslog) */
+/* libc_hidden_proto(closelog) */
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
@@ -96,12 +96,12 @@ libc_hidden_proto(closelog)
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(write) */
 /* libc_hidden_proto(getpid) */
-libc_hidden_proto(ctime)
+/* libc_hidden_proto(ctime) */
 /* libc_hidden_proto(sigaction) */
-libc_hidden_proto(sigemptyset)
-libc_hidden_proto(connect)
+/* libc_hidden_proto(sigemptyset) */
+/* libc_hidden_proto(connect) */
 /* libc_hidden_proto(sprintf) */
-libc_hidden_proto(vsnprintf)
+/* libc_hidden_proto(vsnprintf) */
 /* Experimentally off - libc_hidden_proto(time) */
 
 #include <bits/uClibc_mutex.h>
index 9d71161..164580e 100644 (file)
@@ -38,7 +38,7 @@ _syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg)
 #else
 /* psm: don't remove this, else mips will fail */
 #include <unistd.h>
-libc_hidden_proto(getpagesize)
+/* libc_hidden_proto(getpagesize) */
 
 void * shmat (int shmid, const void *shmaddr, int shmflg)
 {
index cfa9433..808046e 100644 (file)
@@ -9,7 +9,7 @@
 #include <sys/timex.h>
 #include <errno.h>
 
-libc_hidden_proto(adjtimex)
+/* libc_hidden_proto(adjtimex) */
 
 #define MAX_SEC        (LONG_MAX / 1000000L - 2)
 #define MIN_SEC        (LONG_MIN / 1000000L + 2)
index ce58c8f..ae800e1 100644 (file)
 #include <xlocale.h>
 #endif
 
-libc_hidden_proto(asctime)
-libc_hidden_proto(asctime_r)
-libc_hidden_proto(ctime)
-libc_hidden_proto(localtime)
-libc_hidden_proto(localtime_r)
+/* libc_hidden_proto(asctime) */
+/* libc_hidden_proto(asctime_r) */
+/* libc_hidden_proto(ctime) */
+/* libc_hidden_proto(localtime) */
+/* libc_hidden_proto(localtime_r) */
 
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
@@ -171,18 +171,18 @@ libc_hidden_proto(localtime_r)
 /* libc_hidden_proto(read) */
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(getenv) */
-libc_hidden_proto(tzset)
+/* libc_hidden_proto(tzset) */
 /* libc_hidden_proto(gettimeofday) */
 /* Experimentally off - libc_hidden_proto(strncasecmp) */
-libc_hidden_proto(strtol)
-libc_hidden_proto(strtoul)
-libc_hidden_proto(nl_langinfo)
+/* libc_hidden_proto(strtol) */
+/* libc_hidden_proto(strtoul) */
+/* libc_hidden_proto(nl_langinfo) */
 
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* Experimentally off - libc_hidden_proto(strncasecmp_l) */
-libc_hidden_proto(strtol_l)
-libc_hidden_proto(strtoul_l)
-libc_hidden_proto(nl_langinfo_l)
+/* libc_hidden_proto(strtol_l) */
+/* libc_hidden_proto(strtoul_l) */
+/* libc_hidden_proto(nl_langinfo_l) */
 /* libc_hidden_proto(__ctype_b_loc) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__ctype_b) */
@@ -433,7 +433,7 @@ libc_hidden_def(asctime_r)
 
 #include <sys/times.h>
 
-libc_hidden_proto(times)
+/* libc_hidden_proto(times) */
 
 #ifndef __BCC__
 #if CLOCKS_PER_SEC != 1000000L
@@ -809,9 +809,9 @@ time_t timegm(struct tm *timeptr)
 
 #if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
 
-libc_hidden_proto(strftime)
+/* libc_hidden_proto(strftime) */
 
-libc_hidden_proto(strftime_l)
+/* libc_hidden_proto(strftime_l) */
 
 size_t strftime(char *__restrict s, size_t maxsize,
                                const char *__restrict format,
@@ -1330,9 +1330,9 @@ libc_hidden_def(__XL_NPP(strftime))
 
 #if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
 
-libc_hidden_proto(strptime)
+/* libc_hidden_proto(strptime) */
 
-libc_hidden_proto(strptime_l)
+/* libc_hidden_proto(strptime_l) */
 
 char *strptime(const char *__restrict buf, const char *__restrict format,
                           struct tm *__restrict tm)
@@ -1866,7 +1866,7 @@ ERROR:
 #endif /* __UCLIBC_HAS_TZ_FILE__ */
 
 #ifndef __UCLIBC_HAS_CTYPE_TABLES__
-libc_hidden_proto(isascii)
+/* libc_hidden_proto(isascii) */
 #endif
 
 void tzset(void)
@@ -2414,9 +2414,9 @@ DONE:
 
 #if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
 
-libc_hidden_proto(wcsftime)
+/* libc_hidden_proto(wcsftime) */
 
-libc_hidden_proto(wcsftime_l)
+/* libc_hidden_proto(wcsftime_l) */
 
 size_t wcsftime(wchar_t *__restrict s, size_t maxsize,
                                const wchar_t *__restrict format,
index 88bc2be..dd6d9ad 100644 (file)
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
-libc_hidden_proto(__fsetlocking)
-libc_hidden_proto(rewind)
-libc_hidden_proto(fgets_unlocked)
-libc_hidden_proto(getc_unlocked)
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(__fsetlocking) */
+/* libc_hidden_proto(rewind) */
+/* libc_hidden_proto(fgets_unlocked) */
+/* libc_hidden_proto(getc_unlocked) */
+/* libc_hidden_proto(__fgetc_unlocked) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(abort) */
@@ -102,7 +102,7 @@ static char * value(register char *p)
     return ((p = strchr(p, '=')) ? ++p : NULL);
 }
 
-libc_hidden_proto(setttyent)
+/* libc_hidden_proto(setttyent) */
 int setttyent(void)
 {
 
@@ -120,7 +120,7 @@ int setttyent(void)
 }
 libc_hidden_def(setttyent)
 
-libc_hidden_proto(getttyent)
+/* libc_hidden_proto(getttyent) */
 struct ttyent * getttyent(void)
 {
     register int c;
@@ -201,7 +201,7 @@ struct ttyent * getttyent(void)
 }
 libc_hidden_def(getttyent)
 
-libc_hidden_proto(endttyent)
+/* libc_hidden_proto(endttyent) */
 int endttyent(void)
 {
     int rval;
index 6278397..cc036cb 100644 (file)
@@ -68,7 +68,7 @@ bummer:
     return;
 }
 
-libc_hidden_proto(setutent)
+/* libc_hidden_proto(setutent) */
 void setutent(void)
 {
     __UCLIBC_MUTEX_LOCK(utmplock);
@@ -143,7 +143,7 @@ static struct utmp *__getutid(const struct utmp *utmp_entry)
     return NULL;
 }
 
-libc_hidden_proto(getutid)
+/* libc_hidden_proto(getutid) */
 struct utmp *getutid(const struct utmp *utmp_entry)
 {
     struct utmp *ret = NULL;
index 12ffc1a..b7a5817 100644 (file)
 #if 0
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(updwtmp)
+/* libc_hidden_proto(updwtmp) */
 #endif
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(write) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(lockf)
+/* libc_hidden_proto(lockf) */
 /* libc_hidden_proto(gettimeofday) */
 
 #if 0
index 6214243..9a0ceb2 100644 (file)
@@ -174,9 +174,9 @@ extern size_t _wchar_wcsntoutf8s(char *__restrict s, size_t n,
 /**********************************************************************/
 #ifdef L_btowc
 
-libc_hidden_proto(mbrtowc)
+/* libc_hidden_proto(mbrtowc) */
 
-libc_hidden_proto(btowc)
+/* libc_hidden_proto(btowc) */
 wint_t btowc(int c)
 {
 #ifdef __CTYPE_HAS_8_BIT_LOCALES
@@ -215,7 +215,7 @@ libc_hidden_def(btowc)
 
 /* Note: We completely ignore ps in all currently supported conversions. */
 
-libc_hidden_proto(wcrtomb)
+/* libc_hidden_proto(wcrtomb) */
 
 int wctob(wint_t c)
 {
@@ -246,7 +246,7 @@ int wctob(wint_t c)
 /**********************************************************************/
 #ifdef L_mbsinit
 
-libc_hidden_proto(mbsinit)
+/* libc_hidden_proto(mbsinit) */
 int mbsinit(const mbstate_t *ps)
 {
        return !ps || !ps->__mask;
@@ -257,9 +257,9 @@ libc_hidden_def(mbsinit)
 /**********************************************************************/
 #ifdef L_mbrlen
 
-libc_hidden_proto(mbrtowc)
+/* libc_hidden_proto(mbrtowc) */
 
-libc_hidden_proto(mbrlen)
+/* libc_hidden_proto(mbrlen) */
 size_t mbrlen(const char *__restrict s, size_t n, mbstate_t *__restrict ps)
 {
        static mbstate_t mbstate;       /* Rely on bss 0-init. */
@@ -272,9 +272,9 @@ libc_hidden_def(mbrlen)
 /**********************************************************************/
 #ifdef L_mbrtowc
 
-libc_hidden_proto(mbsnrtowcs)
+/* libc_hidden_proto(mbsnrtowcs) */
 
-libc_hidden_proto(mbrtowc)
+/* libc_hidden_proto(mbrtowc) */
 size_t mbrtowc(wchar_t *__restrict pwc, const char *__restrict s,
                           size_t n, mbstate_t *__restrict ps)
 {
@@ -338,12 +338,12 @@ libc_hidden_def(mbrtowc)
 /**********************************************************************/
 #ifdef L_wcrtomb
 
-libc_hidden_proto(wcsnrtombs)
+/* libc_hidden_proto(wcsnrtombs) */
 
 /* Note: We completely ignore ps in all currently supported conversions. */
 /* TODO: Check for valid state anyway? */
 
-libc_hidden_proto(wcrtomb)
+/* libc_hidden_proto(wcrtomb) */
 size_t wcrtomb(register char *__restrict s, wchar_t wc,
                           mbstate_t *__restrict ps)
 {
@@ -372,9 +372,9 @@ libc_hidden_def(wcrtomb)
 /**********************************************************************/
 #ifdef L_mbsrtowcs
 
-libc_hidden_proto(mbsnrtowcs)
+/* libc_hidden_proto(mbsnrtowcs) */
 
-libc_hidden_proto(mbsrtowcs)
+/* libc_hidden_proto(mbsrtowcs) */
 size_t mbsrtowcs(wchar_t *__restrict dst, const char **__restrict src,
                                 size_t len, mbstate_t *__restrict ps)
 {
@@ -393,9 +393,9 @@ libc_hidden_def(mbsrtowcs)
 
  * TODO: Check for valid state anyway? */
 
-libc_hidden_proto(wcsnrtombs)
+/* libc_hidden_proto(wcsnrtombs) */
 
-libc_hidden_proto(wcsrtombs)
+/* libc_hidden_proto(wcsrtombs) */
 size_t wcsrtombs(char *__restrict dst, const wchar_t **__restrict src,
                                 size_t len, mbstate_t *__restrict ps)
 {
@@ -700,7 +700,7 @@ size_t attribute_hidden _wchar_wcsntoutf8s(char *__restrict s, size_t n,
 
 /* WARNING: We treat len as SIZE_MAX when dst is NULL! */
 
-libc_hidden_proto(mbsnrtowcs)
+/* libc_hidden_proto(mbsnrtowcs) */
 size_t mbsnrtowcs(wchar_t *__restrict dst, const char **__restrict src,
                                        size_t NMC, size_t len, mbstate_t *__restrict ps)
 {
@@ -810,7 +810,7 @@ libc_hidden_def(mbsnrtowcs)
 /* Note: We completely ignore ps in all currently supported conversions.
  * TODO: Check for valid state anyway? */
 
-libc_hidden_proto(wcsnrtombs)
+/* libc_hidden_proto(wcsnrtombs) */
 size_t wcsnrtombs(char *__restrict dst, const wchar_t **__restrict src,
                                        size_t NWC, size_t len, mbstate_t *__restrict ps)
 {
@@ -924,7 +924,7 @@ libc_hidden_def(wcsnrtombs)
 /**********************************************************************/
 #ifdef L_wcswidth
 
-libc_hidden_proto(wcswidth)
+/* libc_hidden_proto(wcswidth) */
 
 #ifdef __UCLIBC_MJN3_ONLY__
 #warning REMINDER: If we start doing translit, wcwidth and wcswidth will need updating.
@@ -1040,7 +1040,7 @@ static const signed char new_wtbl[] = {
        0,    2,    1,    2,    1,    0,    1,
 };
 
-libc_hidden_proto(wcsnrtombs)
+/* libc_hidden_proto(wcsnrtombs) */
 
 int wcswidth(const wchar_t *pwcs, size_t n)
 {
@@ -1168,7 +1168,7 @@ libc_hidden_def(wcswidth)
 /**********************************************************************/
 #ifdef L_wcwidth
 
-libc_hidden_proto(wcswidth)
+/* libc_hidden_proto(wcswidth) */
 
 int wcwidth(wchar_t wc)
 {
@@ -1238,8 +1238,10 @@ enum {
  *
  */
 
+//vda:TODO: make hidden
+
 extern const unsigned char __iconv_codesets[];
-libc_hidden_proto(__iconv_codesets)
+/* libc_hidden_proto(__iconv_codesets) */
 const unsigned char __iconv_codesets[] =
        "\x0a\xe0""WCHAR_T\x00"         /* superset of UCS-4 but platform-endian */
 #if __BYTE_ORDER == __BIG_ENDIAN
index 4437d91..16bc523 100644 (file)
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* libc_hidden_proto(tolower) */
 /* libc_hidden_proto(toupper) */
-libc_hidden_proto(towlower)
-libc_hidden_proto(towupper)
-libc_hidden_proto(towctrans)
-libc_hidden_proto(iswctype)
+/* libc_hidden_proto(towlower) */
+/* libc_hidden_proto(towupper) */
+/* libc_hidden_proto(towctrans) */
+/* libc_hidden_proto(iswctype) */
 
 #if defined(__LOCALE_C_ONLY) && defined(__UCLIBC_DO_XLOCALE)
 #error xlocale functionality is not supported in stub locale mode.
@@ -51,10 +51,10 @@ libc_hidden_proto(iswctype)
 
 #ifdef __UCLIBC_HAS_XLOCALE__
 #include <xlocale.h>
-libc_hidden_proto(towlower_l)
-libc_hidden_proto(towupper_l)
-libc_hidden_proto(towctrans_l)
-libc_hidden_proto(iswctype_l)
+/* libc_hidden_proto(towlower_l) */
+/* libc_hidden_proto(towupper_l) */
+/* libc_hidden_proto(towctrans_l) */
+/* libc_hidden_proto(iswctype_l) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
 /* libc_hidden_proto(__ctype_b) */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
@@ -504,7 +504,7 @@ libc_hidden_def(towupper)
 static const unsigned char typestring[] = __CTYPE_TYPESTRING;
 /*  extern const unsigned char typestring[]; */
 
-libc_hidden_proto(wctype)
+/* libc_hidden_proto(wctype) */
 wctype_t wctype(const char *property)
 {
        const unsigned char *p;
@@ -533,9 +533,9 @@ libc_hidden_def(wctype)
 #warning REMINDER: Currently wctype_l simply calls wctype.
 #endif /* __UCLIBC_MJN3_ONLY__ */
 
-libc_hidden_proto(wctype)
+/* libc_hidden_proto(wctype) */
 
-libc_hidden_proto(wctype_l)
+/* libc_hidden_proto(wctype_l) */
 wctype_t wctype_l (const char *property, __locale_t locale)
 {
        return wctype(property);
@@ -907,7 +907,7 @@ libc_hidden_def(towctrans)
 
 static const char transstring[] = __CTYPE_TRANSTRING;
 
-libc_hidden_proto(wctrans)
+/* libc_hidden_proto(wctrans) */
 wctrans_t wctrans(const char *property)
 {
        const unsigned char *p;
@@ -936,7 +936,7 @@ libc_hidden_def(wctrans)
 #warning REMINDER: Currently wctrans_l simply calls wctrans.
 #endif /* __UCLIBC_MJN3_ONLY__ */
 
-libc_hidden_proto(wctrans)
+/* libc_hidden_proto(wctrans) */
 
 wctrans_t wctrans_l(const char *property, __locale_t locale)
 {
index 4fb1aaa..8167ed6 100644 (file)
 /* Experimentally off - libc_hidden_proto(strndup) */
 /* Experimentally off - libc_hidden_proto(strspn) */
 /* Experimentally off - libc_hidden_proto(strcspn) */
-libc_hidden_proto(setenv)
-libc_hidden_proto(unsetenv)
-libc_hidden_proto(waitpid)
-libc_hidden_proto(kill)
-libc_hidden_proto(getuid)
-libc_hidden_proto(getpwnam_r)
-libc_hidden_proto(getpwuid_r)
-libc_hidden_proto(execve)
-libc_hidden_proto(dup2)
-libc_hidden_proto(atoi)
-libc_hidden_proto(fnmatch)
-libc_hidden_proto(pipe)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(setenv) */
+/* libc_hidden_proto(unsetenv) */
+/* libc_hidden_proto(waitpid) */
+/* libc_hidden_proto(kill) */
+/* libc_hidden_proto(getuid) */
+/* libc_hidden_proto(getpwnam_r) */
+/* libc_hidden_proto(getpwuid_r) */
+/* libc_hidden_proto(execve) */
+/* libc_hidden_proto(dup2) */
+/* libc_hidden_proto(atoi) */
+/* libc_hidden_proto(fnmatch) */
+/* libc_hidden_proto(pipe) */
+/* libc_hidden_proto(fork) */
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(read) */
@@ -65,9 +65,9 @@ libc_hidden_proto(fork)
 /* libc_hidden_proto(sprintf) */
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(abort) */
-libc_hidden_proto(glob)
-libc_hidden_proto(globfree)
-libc_hidden_proto(wordfree)
+/* libc_hidden_proto(glob) */
+/* libc_hidden_proto(globfree) */
+/* libc_hidden_proto(wordfree) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
index 456cc8a..a9601d4 100644 (file)
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(fcntl) */
 /* libc_hidden_proto(close) */
-libc_hidden_proto(sigfillset)
+/* libc_hidden_proto(sigfillset) */
 /* libc_hidden_proto(sigaction) */
 /* libc_hidden_proto(sigprocmask) */
-libc_hidden_proto(sigaddset)
-libc_hidden_proto(sigemptyset)
-libc_hidden_proto(alarm)
+/* libc_hidden_proto(sigaddset) */
+/* libc_hidden_proto(sigemptyset) */
+/* libc_hidden_proto(alarm) */
 
 /* How long to wait for getting the lock before returning with an
    error.  */
index 6b1bd63..8c75afb 100644 (file)
 /* Experimentally off - libc_hidden_proto(strcmp) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(strtoul)
-libc_hidden_proto(rewind)
-libc_hidden_proto(fgets_unlocked)
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(strtoul) */
+/* libc_hidden_proto(rewind) */
+/* libc_hidden_proto(fgets_unlocked) */
+/* libc_hidden_proto(__fputc_unlocked) */
 /* libc_hidden_proto(sprintf) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
@@ -84,7 +84,7 @@ extern gid_t* __getgrouplist_internal(const char *user, gid_t gid, int *ngroups)
 #ifdef L_fgetpwent_r
 
 #ifdef __USE_SVID
-libc_hidden_proto(fgetpwent_r)
+/* libc_hidden_proto(fgetpwent_r) */
 int fgetpwent_r(FILE *__restrict stream, struct passwd *__restrict resultbuf,
                                char *__restrict buffer, size_t buflen,
                                struct passwd **__restrict result)
@@ -107,7 +107,7 @@ libc_hidden_def(fgetpwent_r)
 #ifdef L_fgetgrent_r
 
 #ifdef __USE_SVID
-libc_hidden_proto(fgetgrent_r)
+/* libc_hidden_proto(fgetgrent_r) */
 int fgetgrent_r(FILE *__restrict stream, struct group *__restrict resultbuf,
                                char *__restrict buffer, size_t buflen,
                                struct group **__restrict result)
@@ -129,7 +129,7 @@ libc_hidden_def(fgetgrent_r)
 /**********************************************************************/
 #ifdef L_fgetspent_r
 
-libc_hidden_proto(fgetspent_r)
+/* libc_hidden_proto(fgetspent_r) */
 int fgetspent_r(FILE *__restrict stream, struct spwd *__restrict resultbuf,
                                char *__restrict buffer, size_t buflen,
                                struct spwd **__restrict result)
@@ -155,7 +155,7 @@ libc_hidden_def(fgetspent_r)
 #ifdef L_fgetpwent
 
 #ifdef __USE_SVID
-libc_hidden_proto(fgetpwent_r)
+/* libc_hidden_proto(fgetpwent_r) */
 
 struct passwd *fgetpwent(FILE *stream)
 {
@@ -173,7 +173,7 @@ struct passwd *fgetpwent(FILE *stream)
 #ifdef L_fgetgrent
 
 #ifdef __USE_SVID
-libc_hidden_proto(fgetgrent_r)
+/* libc_hidden_proto(fgetgrent_r) */
 
 struct group *fgetgrent(FILE *stream)
 {
@@ -190,7 +190,7 @@ struct group *fgetgrent(FILE *stream)
 /**********************************************************************/
 #ifdef L_fgetspent
 
-libc_hidden_proto(fgetspent_r)
+/* libc_hidden_proto(fgetspent_r) */
 
 struct spwd *fgetspent(FILE *stream)
 {
@@ -206,7 +206,7 @@ struct spwd *fgetspent(FILE *stream)
 /**********************************************************************/
 #ifdef L_sgetspent_r
 
-libc_hidden_proto(sgetspent_r)
+/* libc_hidden_proto(sgetspent_r) */
 int sgetspent_r(const char *string, struct spwd *result_buf,
                                char *buffer, size_t buflen, struct spwd **result)
 {
@@ -296,7 +296,7 @@ libc_hidden_def(sgetspent_r)
 /**********************************************************************/
 #ifdef L_getpwuid
 
-libc_hidden_proto(getpwuid_r)
+/* libc_hidden_proto(getpwuid_r) */
 
 struct passwd *getpwuid(uid_t uid)
 {
@@ -312,7 +312,7 @@ struct passwd *getpwuid(uid_t uid)
 /**********************************************************************/
 #ifdef L_getgrgid
 
-libc_hidden_proto(getgrgid_r)
+/* libc_hidden_proto(getgrgid_r) */
 
 struct group *getgrgid(gid_t gid)
 {
@@ -332,8 +332,8 @@ struct group *getgrgid(gid_t gid)
  * to have been created as a reentrant version of the non-standard
  * functions getspuid.  Why getspuid was added, I do not know. */
 
-libc_hidden_proto(getpwuid_r)
-libc_hidden_proto(getspnam_r)
+/* libc_hidden_proto(getpwuid_r) */
+/* libc_hidden_proto(getspnam_r) */
 
 int getspuid_r(uid_t uid, struct spwd *__restrict resultbuf,
                       char *__restrict buffer, size_t buflen,
@@ -359,8 +359,6 @@ int getspuid_r(uid_t uid, struct spwd *__restrict resultbuf,
 /* This function is non-standard and is currently not built.
  * Why it was added, I do not know. */
 
-libc_hidden_proto(getspuid_r)
-
 struct spwd *getspuid(uid_t uid)
 {
        static char buffer[__UCLIBC_PWD_BUFFER_SIZE__];
@@ -375,7 +373,7 @@ struct spwd *getspuid(uid_t uid)
 /**********************************************************************/
 #ifdef L_getpwnam
 
-libc_hidden_proto(getpwnam_r)
+/* libc_hidden_proto(getpwnam_r) */
 
 struct passwd *getpwnam(const char *name)
 {
@@ -391,7 +389,7 @@ struct passwd *getpwnam(const char *name)
 /**********************************************************************/
 #ifdef L_getgrnam
 
-libc_hidden_proto(getgrnam_r)
+/* libc_hidden_proto(getgrnam_r) */
 
 struct group *getgrnam(const char *name)
 {
@@ -407,7 +405,7 @@ struct group *getgrnam(const char *name)
 /**********************************************************************/
 #ifdef L_getspnam
 
-libc_hidden_proto(getspnam_r)
+/* libc_hidden_proto(getspnam_r) */
 
 struct spwd *getspnam(const char *name)
 {
@@ -423,7 +421,7 @@ struct spwd *getspnam(const char *name)
 /**********************************************************************/
 #ifdef L_getpw
 
-libc_hidden_proto(getpwuid_r)
+/* libc_hidden_proto(getpwuid_r) */
 
 int getpw(uid_t uid, char *buf)
 {
@@ -476,7 +474,7 @@ void endpwent(void)
 }
 
 
-libc_hidden_proto(getpwent_r)
+/* libc_hidden_proto(getpwent_r) */
 int getpwent_r(struct passwd *__restrict resultbuf,
                           char *__restrict buffer, size_t buflen,
                           struct passwd **__restrict result)
@@ -533,7 +531,7 @@ void endgrent(void)
        __UCLIBC_MUTEX_UNLOCK(mylock);
 }
 
-libc_hidden_proto(getgrent_r)
+/* libc_hidden_proto(getgrent_r) */
 int getgrent_r(struct group *__restrict resultbuf,
                           char *__restrict buffer, size_t buflen,
                           struct group **__restrict result)
@@ -590,7 +588,7 @@ void endspent(void)
        __UCLIBC_MUTEX_UNLOCK(mylock);
 }
 
-libc_hidden_proto(getspent_r)
+/* libc_hidden_proto(getspent_r) */
 int getspent_r(struct spwd *resultbuf, char *buffer,
                           size_t buflen, struct spwd **result)
 {
@@ -624,7 +622,7 @@ libc_hidden_def(getspent_r)
 /**********************************************************************/
 #ifdef L_getpwent
 
-libc_hidden_proto(getpwent_r)
+/* libc_hidden_proto(getpwent_r) */
 
 struct passwd *getpwent(void)
 {
@@ -640,7 +638,7 @@ struct passwd *getpwent(void)
 /**********************************************************************/
 #ifdef L_getgrent
 
-libc_hidden_proto(getgrent_r)
+/* libc_hidden_proto(getgrent_r) */
 
 struct group *getgrent(void)
 {
@@ -656,7 +654,7 @@ struct group *getgrent(void)
 /**********************************************************************/
 #ifdef L_getspent
 
-libc_hidden_proto(getspent_r)
+/* libc_hidden_proto(getspent_r) */
 
 struct spwd *getspent(void)
 {
@@ -672,7 +670,7 @@ struct spwd *getspent(void)
 /**********************************************************************/
 #ifdef L_sgetspent
 
-libc_hidden_proto(sgetspent_r)
+/* libc_hidden_proto(sgetspent_r) */
 
 struct spwd *sgetspent(const char *string)
 {
@@ -775,7 +773,7 @@ int getgrouplist(const char *user, gid_t gid, gid_t *groups, int *ngroups)
 #ifdef L_initgroups
 
 #ifdef __USE_BSD
-libc_hidden_proto(setgroups)
+/* libc_hidden_proto(setgroups) */
 
 int initgroups(const char *user, gid_t gid)
 {
index 46b6e4b..0e0d8f6 100644 (file)
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <signal.h>
 
-libc_hidden_proto(kill)
+/* libc_hidden_proto(kill) */
 
 /* Send SIG to all processes in process group PGRP.
    If PGRP is zero, send SIG to all processes in
index e304786..fcd114c 100644 (file)
@@ -9,13 +9,13 @@
 
 
 /* libc_hidden_proto(getpid) */
-libc_hidden_proto(kill)
+/* libc_hidden_proto(kill) */
 
 int __raise (int signo)  attribute_hidden;
 int __raise(int signo)
 {
     return kill(getpid(), signo);
 }
-libc_hidden_proto(raise)
+/* libc_hidden_proto(raise) */
 weak_alias(__raise,raise)
 libc_hidden_def(raise)
index 9840a56..f8b1175 100644 (file)
@@ -19,7 +19,7 @@
 #include "sigsetops.h"
 
 /* Add SIGNO to SET.  */
-libc_hidden_proto(sigaddset)
+/* libc_hidden_proto(sigaddset) */
 int
 sigaddset (sigset_t *set, int signo)
 {
index 5aa3867..7051a94 100644 (file)
@@ -25,7 +25,7 @@
 #include "sigset-cvt-mask.h"
 
 /* Block signals in MASK, returning the old mask.  */
-libc_hidden_proto(sigblock)
+/* libc_hidden_proto(sigblock) */
 int sigblock (int mask)
 {
   sigset_t set, oset;
index de988a7..fb5658a 100644 (file)
@@ -19,7 +19,7 @@
 #include "sigsetops.h"
 
 /* Add SIGNO to SET.  */
-libc_hidden_proto(sigdelset)
+/* libc_hidden_proto(sigdelset) */
 int sigdelset (sigset_t *set, int signo)
 {
   if (set == NULL || signo <= 0 || signo >= NSIG)
index 7d8687b..96260fb 100644 (file)
@@ -23,7 +23,7 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 
 /* Clear all signals from SET.  */
-libc_hidden_proto(sigemptyset)
+/* libc_hidden_proto(sigemptyset) */
 int sigemptyset (sigset_t *set)
 {
   if (set == NULL)
index 96ab459..2f8fb81 100644 (file)
@@ -23,7 +23,7 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 
 /* Set all signals in SET.  */
-libc_hidden_proto(sigfillset)
+/* libc_hidden_proto(sigfillset) */
 int
 sigfillset (sigset_t *set)
 {
index d3af43a..82d2a97 100644 (file)
@@ -20,7 +20,7 @@
 #define __UCLIBC_HIDE_DEPRECATED__
 #include <signal.h>
 
-libc_hidden_proto(sigblock)
+/* libc_hidden_proto(sigblock) */
 
 int
 siggetmask (void)
index 728c10a..f8003d6 100644 (file)
@@ -23,7 +23,7 @@
 #include <signal.h>
 
 /* libc_hidden_proto(sigprocmask) */
-libc_hidden_proto(sigaddset)
+/* libc_hidden_proto(sigaddset) */
 
 int sighold (int sig)
 {
index 0470570..4d37960 100644 (file)
@@ -52,6 +52,6 @@ __bsd_signal (int sig, __sighandler_t handler)
   return oact.sa_handler;
 }
 strong_alias(__bsd_signal,bsd_signal)
-libc_hidden_proto(signal)
+/* libc_hidden_proto(signal) */
 strong_alias(__bsd_signal,signal)
 libc_hidden_def(signal)
index 952350b..195e88e 100644 (file)
 #include <stddef.h>            /* For NULL.  */
 
 /* libc_hidden_proto(sigprocmask) */
-libc_hidden_proto(sigdelset)
-libc_hidden_proto(sigsuspend)
+/* libc_hidden_proto(sigdelset) */
+/* libc_hidden_proto(sigsuspend) */
 
 #include "sigset-cvt-mask.h"
 
 /* Set the mask of blocked signals to MASK,
    wait for a signal to arrive, and then restore the mask.  */
-libc_hidden_proto(__sigpause)
+/* libc_hidden_proto(__sigpause) */
 int __sigpause (int sig_or_mask, int is_sig)
 {
   sigset_t set;
@@ -57,7 +57,7 @@ libc_hidden_def(__sigpause)
 /* We have to provide a default version of this function since the
    standards demand it.  The version which is a bit more reasonable is
    the BSD version.  So make this the default.  */
-libc_hidden_proto(sigpause)
+/* libc_hidden_proto(sigpause) */
 int sigpause (int mask)
 {
   return __sigpause (mask, 0);
index 61bd32d..f5ee6fe 100644 (file)
@@ -23,7 +23,7 @@
 #include <signal.h>
 
 /* libc_hidden_proto(sigprocmask) */
-libc_hidden_proto(sigdelset)
+/* libc_hidden_proto(sigdelset) */
 
 int sigrelse (int sig)
 {
index ef8559e..5de4b59 100644 (file)
@@ -25,7 +25,7 @@
 #include "sigset-cvt-mask.h"
 
 /* Set the mask of blocked signals to MASK, returning the old mask.  */
-libc_hidden_proto(sigsetmask)
+/* libc_hidden_proto(sigsetmask) */
 int
 sigsetmask (int mask)
 {
index 117c1c4..c902ee8 100644 (file)
@@ -23,7 +23,7 @@
 #include <string.h>
 
 #if defined __UCLIBC_HAS_REALTIME__
-libc_hidden_proto(sigwaitinfo)
+/* libc_hidden_proto(sigwaitinfo) */
 
 int __sigwait (const sigset_t *set, int *sig) attribute_hidden;
 int __sigwait (const sigset_t *set, int *sig)
@@ -37,9 +37,9 @@ int __sigwait (const sigset_t *set, int *sig)
 }
 #else /* __UCLIBC_HAS_REALTIME__ */
 /* variant without REALTIME extensions */
-libc_hidden_proto(sigfillset)
+/* libc_hidden_proto(sigfillset) */
 /* libc_hidden_proto(sigaction) */
-libc_hidden_proto(sigsuspend)
+/* libc_hidden_proto(sigsuspend) */
 
 static int was_sig; /* obviously not thread-safe */
 static void ignore_signal(int sig)
@@ -96,6 +96,6 @@ int __sigwait (const sigset_t *set, int *sig)
   return was_sig == -1 ? -1 : 0;
 }
 #endif /* __UCLIBC_HAS_REALTIME__ */
-libc_hidden_proto(sigwait)
+/* libc_hidden_proto(sigwait) */
 weak_alias(__sigwait,sigwait)
 libc_hidden_def(sigwait)
index 2e87100..2011cc7 100644 (file)
@@ -8,7 +8,7 @@
 #include "_stdio.h"
 #include <stdio_ext.h>
 
-libc_hidden_proto(__fsetlocking)
+/* libc_hidden_proto(__fsetlocking) */
 
 /* Not threadsafe. */
 
index 3cca7b9..69a04bc 100644 (file)
@@ -11,7 +11,7 @@
 /* libc_hidden_proto(write) */
 /* libc_hidden_proto(close) */
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(lseek64)
+/* libc_hidden_proto(lseek64) */
 #else
 /* libc_hidden_proto(lseek) */
 #endif
index 8a551a7..7146e9b 100644 (file)
@@ -8,7 +8,7 @@
 #include "_stdio.h"
 #include <stdio_ext.h>
 
-libc_hidden_proto(fflush_unlocked)
+/* libc_hidden_proto(fflush_unlocked) */
 
 /* Solaris function --
  * Flush all line buffered (writing) streams.
index d3240b7..fcbe1e4 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(isatty)
+/* libc_hidden_proto(isatty) */
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(fcntl) */
 
index 5b9e700..1a42ffb 100644 (file)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(ungetc)
-libc_hidden_proto(vfscanf)
-libc_hidden_proto(vsscanf)
+/* libc_hidden_proto(ungetc) */
+/* libc_hidden_proto(vfscanf) */
+/* libc_hidden_proto(vsscanf) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(getc_unlocked)
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(getc_unlocked) */
+/* libc_hidden_proto(__fgetc_unlocked) */
 #ifdef __UCLIBC_HAS_WCHAR__
-libc_hidden_proto(wcslen)
-libc_hidden_proto(vfwscanf)
-libc_hidden_proto(vswscanf)
-libc_hidden_proto(mbsrtowcs)
-libc_hidden_proto(mbrtowc)
-libc_hidden_proto(wcrtomb)
-libc_hidden_proto(ungetwc)
-libc_hidden_proto(iswspace)
-libc_hidden_proto(fgetwc_unlocked)
+/* libc_hidden_proto(wcslen) */
+/* libc_hidden_proto(vfwscanf) */
+/* libc_hidden_proto(vswscanf) */
+/* libc_hidden_proto(mbsrtowcs) */
+/* libc_hidden_proto(mbrtowc) */
+/* libc_hidden_proto(wcrtomb) */
+/* libc_hidden_proto(ungetwc) */
+/* libc_hidden_proto(iswspace) */
+/* libc_hidden_proto(fgetwc_unlocked) */
 #endif
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
@@ -165,7 +165,7 @@ _stdlib_strto_l(register const char * __restrict str,
 /**********************************************************************/
 #ifdef L_fscanf
 
-libc_hidden_proto(fscanf)
+/* libc_hidden_proto(fscanf) */
 int fscanf(FILE * __restrict stream, const char * __restrict format, ...)
 {
        va_list arg;
@@ -201,7 +201,7 @@ int scanf(const char * __restrict format, ...)
 
 #ifdef __STDIO_HAS_VSSCANF
 
-libc_hidden_proto(sscanf)
+/* libc_hidden_proto(sscanf) */
 int sscanf(const char * __restrict str, const char * __restrict format, ...)
 {
        va_list arg;
@@ -223,7 +223,7 @@ libc_hidden_def(sscanf)
 /**********************************************************************/
 #ifdef L_vscanf
 
-libc_hidden_proto(vscanf)
+/* libc_hidden_proto(vscanf) */
 int vscanf(const char * __restrict format, va_list arg)
 {
        return vfscanf(stdin, format, arg);
index d8c0ae2..52e7295 100644 (file)
@@ -8,7 +8,7 @@
 #include "_stdio.h"
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(isatty)
+/* libc_hidden_proto(isatty) */
 
 /* This is pretty much straight from uClibc, but with one important
  * difference.
index ed1a583..57a06d3 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fseek)
+/* libc_hidden_proto(fseek) */
 
 /* Function to handle transition to writing.
  *   Initialize or verify the stream's orientation (even if readonly).
index 9d7f99c..5ce3f8a 100644 (file)
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strnlen) */
-libc_hidden_proto(__glibc_strerror_r)
-libc_hidden_proto(fputs_unlocked)
+/* libc_hidden_proto(__glibc_strerror_r) */
+/* libc_hidden_proto(fputs_unlocked) */
 /* libc_hidden_proto(abort) */
 #ifdef __UCLIBC_HAS_WCHAR__
-libc_hidden_proto(wcslen)
-libc_hidden_proto(wcsnlen)
-libc_hidden_proto(mbsrtowcs)
-libc_hidden_proto(wcsrtombs)
-libc_hidden_proto(btowc)
-libc_hidden_proto(wcrtomb)
-libc_hidden_proto(fputws)
+/* libc_hidden_proto(wcslen) */
+/* libc_hidden_proto(wcsnlen) */
+/* libc_hidden_proto(mbsrtowcs) */
+/* libc_hidden_proto(wcsrtombs) */
+/* libc_hidden_proto(btowc) */
+/* libc_hidden_proto(wcrtomb) */
+/* libc_hidden_proto(fputws) */
 #endif
 
 /* Some older or broken gcc toolchains define LONG_LONG_MAX but not
index fb5c6b3..8fa59f8 100644 (file)
@@ -16,8 +16,8 @@
 #warning TODO: Fix prototype.
 #endif
 
-libc_hidden_proto(wmemcpy)
-libc_hidden_proto(wcsnrtombs)
+/* libc_hidden_proto(wmemcpy) */
+/* libc_hidden_proto(wcsnrtombs) */
 
 size_t attribute_hidden _wstdio_fwrite(const wchar_t *__restrict ws, size_t n,
                                          register FILE *__restrict stream)
index 3f19925..8c64209 100644 (file)
@@ -11,9 +11,9 @@
 #include "_stdio.h"
 #include <stdarg.h>
 
-libc_hidden_proto(asprintf)
+/* libc_hidden_proto(asprintf) */
 
-libc_hidden_proto(vasprintf)
+/* libc_hidden_proto(vasprintf) */
 
 #ifndef __STDIO_HAS_VSNPRINTF
 #warning Skipping asprintf and __asprintf since no vsnprintf!
index a8b2704..0123c50 100644 (file)
@@ -11,7 +11,7 @@
 #include "_stdio.h"
 #include <stdarg.h>
 
-libc_hidden_proto(vdprintf)
+/* libc_hidden_proto(vdprintf) */
 
 int dprintf(int filedes, const char * __restrict format, ...)
 {
index eadfe74..7d21381 100644 (file)
@@ -9,7 +9,7 @@
 /* libc_hidden_proto(fclose) */
 
 /* libc_hidden_proto(close) */
-libc_hidden_proto(fflush_unlocked)
+/* libc_hidden_proto(fflush_unlocked) */
 
 int fclose(register FILE *stream)
 {
index fcd21f7..d47d6ea 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fdopen)
+/* libc_hidden_proto(fdopen) */
 /* libc_hidden_proto(fcntl) */
 
 FILE *fdopen(int filedes, const char *mode)
index e1527b3..cee712a 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fflush_unlocked)
+/* libc_hidden_proto(fflush_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
@@ -179,14 +179,14 @@ int fflush_unlocked(register FILE *stream)
 libc_hidden_def(fflush_unlocked)
 
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fflush)
+/* libc_hidden_proto(fflush) */
 strong_alias(fflush_unlocked,fflush)
 libc_hidden_def(fflush)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fflush)
+/* libc_hidden_proto(fflush) */
 int fflush(register FILE *stream)
 {
        int retval;
index 7eb2b6e..89c8fe3 100644 (file)
 #undef getc
 #undef getc_unlocked
 
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(__fgetc_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
-libc_hidden_proto(fflush_unlocked)
+/* libc_hidden_proto(fflush_unlocked) */
 
 int __fgetc_unlocked(FILE *stream)
 {
@@ -75,7 +75,7 @@ int __fgetc_unlocked(FILE *stream)
 }
 libc_hidden_def(__fgetc_unlocked)
 
-libc_hidden_proto(fgetc_unlocked)
+/* libc_hidden_proto(fgetc_unlocked) */
 strong_alias(__fgetc_unlocked,fgetc_unlocked)
 libc_hidden_def(fgetc_unlocked)
 
@@ -83,12 +83,12 @@ libc_hidden_def(fgetc_unlocked)
 //strong_alias(__fgetc_unlocked,__getc_unlocked)
 //libc_hidden_def(__getc_unlocked)
 
-libc_hidden_proto(getc_unlocked)
+/* libc_hidden_proto(getc_unlocked) */
 strong_alias(__fgetc_unlocked,getc_unlocked)
 libc_hidden_def(getc_unlocked)
 
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fgetc)
+/* libc_hidden_proto(fgetc) */
 strong_alias(__fgetc_unlocked,fgetc)
 libc_hidden_def(fgetc)
 
@@ -97,7 +97,7 @@ strong_alias(__fgetc_unlocked,getc)
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fgetc)
+/* libc_hidden_proto(fgetc) */
 int fgetc(register FILE *stream)
 {
        if (stream->__user_locking != 0) {
index 5eb1aac..0c7b97e 100644 (file)
@@ -7,11 +7,11 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fgets_unlocked)
+/* libc_hidden_proto(fgets_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(__fgetc_unlocked) */
 
 char *fgets_unlocked(char *__restrict s, int n,
                                           register FILE * __restrict stream)
index 062d825..3432743 100644 (file)
@@ -7,9 +7,9 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fgetwc_unlocked)
+/* libc_hidden_proto(fgetwc_unlocked) */
 
-libc_hidden_proto(mbrtowc)
+/* libc_hidden_proto(mbrtowc) */
 
 #ifdef __DO_UNLOCKED
 
@@ -113,7 +113,7 @@ libc_hidden_def(fgetwc_unlocked)
 
 strong_alias(fgetwc_unlocked,getwc_unlocked)
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fgetwc)
+/* libc_hidden_proto(fgetwc) */
 strong_alias(fgetwc_unlocked,fgetwc)
 libc_hidden_def(fgetwc)
 
@@ -122,7 +122,7 @@ strong_alias(fgetwc_unlocked,getwc)
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fgetwc)
+/* libc_hidden_proto(fgetwc) */
 wint_t fgetwc(register FILE *stream)
 {
        wint_t retval;
index c7dcc7d..80af1a2 100644 (file)
@@ -7,9 +7,9 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fgetws_unlocked)
+/* libc_hidden_proto(fgetws_unlocked) */
 
-libc_hidden_proto(fgetwc_unlocked)
+/* libc_hidden_proto(fgetwc_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
index 929936b..faed620 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fileno_unlocked)
+/* libc_hidden_proto(fileno_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
@@ -25,14 +25,14 @@ int fileno_unlocked(register FILE *stream)
 libc_hidden_def(fileno_unlocked)
 
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fileno)
+/* libc_hidden_proto(fileno) */
 strong_alias(fileno_unlocked,fileno)
 libc_hidden_def(fileno)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fileno)
+/* libc_hidden_proto(fileno) */
 int fileno(register FILE *stream)
 {
        int retval;
index ba194d7..269c7ec 100644 (file)
@@ -11,7 +11,7 @@
 #include "_stdio.h"
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(fopencookie)
+/* libc_hidden_proto(fopencookie) */
 
 #ifndef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
 #error no custom streams!
index 0b7ed84..ac2c334 100644 (file)
@@ -31,7 +31,7 @@
 /* Currently no real reentrancy issues other than a possible double close(). */
 
 #ifndef __BCC__
-libc_hidden_proto(fopencookie)
+/* libc_hidden_proto(fopencookie) */
 FILE *fopencookie(void * __restrict cookie, const char * __restrict mode,
                                  cookie_io_functions_t io_functions)
 #else
index ac3b23e..09d8ee1 100644 (file)
@@ -12,7 +12,7 @@
 #undef putc
 #undef putc_unlocked
 
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(__fputc_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
@@ -78,22 +78,22 @@ strong_alias(__fputc_unlocked,fputc_unlocked)
 /* exposing these would be fundamentally *wrong*! fix you, instead! */
 /* libc_hidden_def(fputc_unlocked) */
 
-libc_hidden_proto(putc_unlocked)
+/* libc_hidden_proto(putc_unlocked) */
 strong_alias(__fputc_unlocked,putc_unlocked)
 libc_hidden_def(putc_unlocked)
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fputc)
+/* libc_hidden_proto(fputc) */
 strong_alias(__fputc_unlocked,fputc)
 libc_hidden_def(fputc)
 
-libc_hidden_proto(putc)
+/* libc_hidden_proto(putc) */
 strong_alias(__fputc_unlocked,putc)
 libc_hidden_def(putc)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fputc)
+/* libc_hidden_proto(fputc) */
 int fputc(int c, register FILE *stream)
 {
        if (stream->__user_locking != 0) {
@@ -108,7 +108,7 @@ int fputc(int c, register FILE *stream)
 }
 libc_hidden_def(fputc)
 
-libc_hidden_proto(putc)
+/* libc_hidden_proto(putc) */
 strong_alias(fputc,putc)
 libc_hidden_def(putc)
 
index 553fb2e..08da59c 100644 (file)
@@ -7,10 +7,10 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fputs_unlocked)
+/* libc_hidden_proto(fputs_unlocked) */
 
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(fwrite_unlocked)
+/* libc_hidden_proto(fwrite_unlocked) */
 
 /* Note: The standard says fputs returns a nonnegative number on
  * success.  In this implementation, we return the length of the
index 240c1e9..6c7d6b2 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fputwc_unlocked)
+/* libc_hidden_proto(fputwc_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
index ecbc121..a4fadb4 100644 (file)
@@ -7,9 +7,9 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fputws_unlocked)
+/* libc_hidden_proto(fputws_unlocked) */
 
-libc_hidden_proto(wcslen)
+/* libc_hidden_proto(wcslen) */
 
 #ifdef __DO_UNLOCKED
 
@@ -23,14 +23,14 @@ int fputws_unlocked(const wchar_t *__restrict ws,
 libc_hidden_def(fputws_unlocked)
 
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fputws)
+/* libc_hidden_proto(fputws) */
 strong_alias(fputws_unlocked,fputws)
 libc_hidden_def(fputws)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fputws)
+/* libc_hidden_proto(fputws) */
 int fputws(const wchar_t *__restrict ws, register FILE *__restrict stream)
 {
        int retval;
index 4f9c984..55d3cb2 100644 (file)
@@ -7,12 +7,12 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fread_unlocked)
+/* libc_hidden_proto(fread_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(fflush_unlocked)
+/* libc_hidden_proto(fflush_unlocked) */
 
 size_t fread_unlocked(void * __restrict ptr, size_t size, size_t nmemb,
                                                FILE * __restrict stream)
@@ -90,14 +90,14 @@ size_t fread_unlocked(void * __restrict ptr, size_t size, size_t nmemb,
 libc_hidden_def(fread_unlocked)
 
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fread)
+/* libc_hidden_proto(fread) */
 strong_alias(fread_unlocked,fread)
 libc_hidden_def(fread)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fread)
+/* libc_hidden_proto(fread) */
 size_t fread(void * __restrict ptr, size_t size, size_t nmemb,
                         register FILE * __restrict stream)
 {
index 2510402..a7f8b8d 100644 (file)
@@ -17,9 +17,9 @@
 #endif
 
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(fseeko64)
+/* libc_hidden_proto(fseeko64) */
 #endif
-libc_hidden_proto(fseek)
+/* libc_hidden_proto(fseek) */
 
 int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
 {
index bae1d87..f6adf38 100644 (file)
@@ -8,9 +8,9 @@
 #include "_stdio.h"
 
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(ftello64)
+/* libc_hidden_proto(ftello64) */
 #endif
-libc_hidden_proto(ftell)
+/* libc_hidden_proto(ftell) */
 
 #ifndef __DO_LARGEFILE
 # define FTELL         ftell
index f2a1afb..a5f09cd 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-libc_hidden_proto(vfwprintf)
+/* libc_hidden_proto(vfwprintf) */
 
 int fwprintf(FILE * __restrict stream, const wchar_t * __restrict format, ...)
 {
index 7be794a..180fa92 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fwrite_unlocked)
+/* libc_hidden_proto(fwrite_unlocked) */
 
 #ifdef __DO_UNLOCKED
 
@@ -38,14 +38,14 @@ size_t fwrite_unlocked(const void * __restrict ptr, size_t size,
 libc_hidden_def(fwrite_unlocked)
 
 #ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fwrite)
+/* libc_hidden_proto(fwrite) */
 strong_alias(fwrite_unlocked,fwrite)
 libc_hidden_def(fwrite)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fwrite)
+/* libc_hidden_proto(fwrite) */
 size_t fwrite(const void * __restrict ptr, size_t size,
                          size_t nmemb, register FILE * __restrict stream)
 {
index e29c426..2ef7220 100644 (file)
@@ -7,14 +7,14 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(__fgetc_unlocked) */
 
 #undef getchar
 #ifdef __DO_UNLOCKED
 
 /* the only use of the hidden getchar_unlocked is in gets.c */
 #undef getchar_unlocked
-libc_hidden_proto(getchar_unlocked)
+/* libc_hidden_proto(getchar_unlocked) */
 int getchar_unlocked(void)
 {
        register FILE *stream = stdin;
index 21c86f4..30fca81 100644 (file)
@@ -10,9 +10,9 @@
 #ifdef __USE_GNU
 #include "_stdio.h"
 
-libc_hidden_proto(getdelim)
+/* libc_hidden_proto(getdelim) */
 
-libc_hidden_proto(__fgetc_unlocked)
+/* libc_hidden_proto(__fgetc_unlocked) */
 
 /* Note: There is a defect in this function.  (size_t vs ssize_t). */
 
index 22b67b8..8123b0c 100644 (file)
@@ -10,9 +10,9 @@
 #ifdef __USE_GNU
 #include "_stdio.h"
 
-libc_hidden_proto(getline)
+/* libc_hidden_proto(getline) */
 
-libc_hidden_proto(getdelim)
+/* libc_hidden_proto(getdelim) */
 
 ssize_t getline(char **__restrict lineptr, size_t *__restrict n,
                                FILE *__restrict stream)
index 85bb847..c827197 100644 (file)
@@ -13,7 +13,7 @@ link_warning(gets, "the 'gets' function is dangerous and should not be used.")
 
 /* disable macro, force actual function call */
 #undef getchar_unlocked
-libc_hidden_proto(getchar_unlocked)
+/* libc_hidden_proto(getchar_unlocked) */
 
 char *gets(char *s)
 {
index e3aeda9..75255aa 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fread_unlocked)
+/* libc_hidden_proto(fread_unlocked) */
 
 /* SUSv2 Legacy function -- need not be reentrant. */
 
index 9c480b5..c17f0c7 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifdef __DO_UNLOCKED
 
-libc_hidden_proto(fgetwc_unlocked)
+/* libc_hidden_proto(fgetwc_unlocked) */
 
 wint_t getwchar_unlocked(void)
 {
@@ -22,7 +22,7 @@ strong_alias(getwchar_unlocked,getwchar)
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(fgetwc)
+/* libc_hidden_proto(fgetwc) */
 
 wint_t getwchar(void)
 {
index 17969a4..e3a8173 100644 (file)
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strnlen) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(putc_unlocked)
-libc_hidden_proto(__fputc_unlocked)
-libc_hidden_proto(__glibc_strerror_r)
+/* libc_hidden_proto(putc_unlocked) */
+/* libc_hidden_proto(__fputc_unlocked) */
+/* libc_hidden_proto(__glibc_strerror_r) */
 
 /*  #undef __UCLIBC_HAS_FLOATS__ */
 /*  #undef WANT_FLOAT_ERROR */
index 5861017..46142a0 100644 (file)
@@ -12,7 +12,7 @@
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(fopencookie)
+/* libc_hidden_proto(fopencookie) */
 
 #ifndef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
 #error no custom streams!
@@ -131,7 +131,7 @@ static const cookie_io_functions_t _oms_io_funcs = {
  * (ie replace the FILE buffer with the cookie buffer and update FILE bufstart,
  * etc. whenever we seek). */
 
-libc_hidden_proto(open_memstream)
+/* libc_hidden_proto(open_memstream) */
 FILE *open_memstream(char **__restrict bufloc, size_t *__restrict sizeloc)
 {
        register __oms_cookie *cookie;
index 0f63c40..a01c4fe 100644 (file)
@@ -8,7 +8,7 @@
 #include "_stdio.h"
 
 /* libc_hidden_proto(fprintf) */
-libc_hidden_proto(__glibc_strerror_r)
+/* libc_hidden_proto(__glibc_strerror_r) */
 
 #ifdef __UCLIBC_MJN3_ONLY__
 #warning CONSIDER: Increase buffer size for error message (non-%m case)?
index 21b1231..e920b8d 100644 (file)
 
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(_exit) */
-libc_hidden_proto(waitpid)
-libc_hidden_proto(execl)
-libc_hidden_proto(dup2)
-libc_hidden_proto(fdopen)
-libc_hidden_proto(pipe)
-libc_hidden_proto(vfork)
+/* libc_hidden_proto(waitpid) */
+/* libc_hidden_proto(execl) */
+/* libc_hidden_proto(dup2) */
+/* libc_hidden_proto(fdopen) */
+/* libc_hidden_proto(pipe) */
+/* libc_hidden_proto(vfork) */
 /* libc_hidden_proto(fclose) */
 
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
@@ -42,7 +42,7 @@ libc_hidden_proto(vfork)
 # define vfork fork
 # define VFORK_LOCK            ((void) 0)
 # define VFORK_UNLOCK          ((void) 0)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
 #endif
 
 #ifndef VFORK_LOCK
index b54a7a8..65d8f64 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(__fputc_unlocked) */
 
 #undef putchar
 #ifdef __DO_UNLOCKED
index 08525b2..3ece1ba 100644 (file)
@@ -7,8 +7,8 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(__fputc_unlocked)
-libc_hidden_proto(fputs_unlocked)
+/* libc_hidden_proto(__fputc_unlocked) */
+/* libc_hidden_proto(fputs_unlocked) */
 
 int puts(register const char * __restrict s)
 {
index 469e44a..5074117 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fwrite_unlocked)
+/* libc_hidden_proto(fwrite_unlocked) */
 
 /* SUSv2 Legacy function -- need not be reentrant. */
 
index 7a6501c..aa65319 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifdef __DO_UNLOCKED
 
-libc_hidden_proto(fputwc_unlocked)
+/* libc_hidden_proto(fputwc_unlocked) */
 
 wint_t putwchar_unlocked(wchar_t wc)
 {
@@ -22,9 +22,9 @@ strong_alias(putwchar_unlocked,putwchar)
 
 #elif defined __UCLIBC_HAS_THREADS__
 
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(__fputc_unlocked) */
 /* psm: should this be fputwc? */
-libc_hidden_proto(fputc)
+/* libc_hidden_proto(fputc) */
 
 wint_t putwchar(wchar_t wc)
 {
index f322411..c186164 100644 (file)
@@ -10,8 +10,8 @@
 #include <unistd.h>
 #include <errno.h>
 
-libc_hidden_proto(rmdir)
-libc_hidden_proto(unlink)
+/* libc_hidden_proto(rmdir) */
+/* libc_hidden_proto(unlink) */
 
 /* SUSv3 states:
  *   If path does not name a directory, remove(path) shall be equivalent
@@ -19,7 +19,7 @@ libc_hidden_proto(unlink)
  *   equivalent to rmdir(path).
  */
 
-libc_hidden_proto(remove)
+/* libc_hidden_proto(remove) */
 int remove(register const char *filename)
 {
        int saved_errno = errno;
index e04d7a0..600f8cd 100644 (file)
@@ -7,9 +7,9 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(fseek)
+/* libc_hidden_proto(fseek) */
 
-libc_hidden_proto(rewind)
+/* libc_hidden_proto(rewind) */
 void rewind(register FILE *stream)
 {
        __STDIO_AUTO_THREADLOCK_VAR;
index 6de2c91..b9bdc8b 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "_stdio.h"
 
-libc_hidden_proto(setvbuf)
+/* libc_hidden_proto(setvbuf) */
 
 void setbuf(FILE * __restrict stream, register char * __restrict buf)
 {
index ea2421a..428b389 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifdef __USE_BSD
 
-libc_hidden_proto(setvbuf)
+/* libc_hidden_proto(setvbuf) */
 
 /* A BSD function.  The implementation matches the linux man page,
  * except that we do not bother calling setvbuf if not configured
index 9b4be53..5647769 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifdef __USE_BSD
 
-libc_hidden_proto(setvbuf)
+/* libc_hidden_proto(setvbuf) */
 
 /* A BSD function.  The implementation matches the linux man page,
  * except that we do not bother calling setvbuf if not configured
index 6dbb532..7f0c6f6 100644 (file)
@@ -14,7 +14,7 @@
 #error Assumption violated for buffering mode flags
 #endif
 
-libc_hidden_proto(setvbuf)
+/* libc_hidden_proto(setvbuf) */
 int setvbuf(register FILE * __restrict stream, register char * __restrict buf,
                        int mode, size_t size)
 {
index ef9c692..1b1f089 100644 (file)
@@ -12,9 +12,9 @@
 #warning Skipping snprintf since no vsnprintf!
 #else
 
-libc_hidden_proto(vsnprintf)
+/* libc_hidden_proto(vsnprintf) */
 
-libc_hidden_proto(snprintf)
+/* libc_hidden_proto(snprintf) */
 int snprintf(char *__restrict buf, size_t size,
                         const char * __restrict format, ...)
 {
index 2528720..594c51b 100644 (file)
@@ -12,7 +12,7 @@
 #warning Skipping sprintf since no vsnprintf!
 #else
 
-libc_hidden_proto(vsnprintf)
+/* libc_hidden_proto(vsnprintf) */
 
 /* libc_hidden_proto(sprintf) */
 int sprintf(char *__restrict buf, const char * __restrict format, ...)
index 0c209fe..4af8a6b 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-libc_hidden_proto(vswprintf)
+/* libc_hidden_proto(vswprintf) */
 
 #ifndef __STDIO_BUFFERS
 #warning Skipping swprintf since no buffering!
index 05143d3..bb843af 100644 (file)
@@ -21,8 +21,8 @@
 #include <unistd.h>
 #include "../misc/internals/tempname.h"
 
-libc_hidden_proto(fdopen)
-libc_hidden_proto(remove)
+/* libc_hidden_proto(fdopen) */
+/* libc_hidden_proto(remove) */
 /* libc_hidden_proto(close) */
 
 /* This returns a new stream opened on a temporary file (generated
index d900928..dcec919 100644 (file)
@@ -24,7 +24,7 @@
  *     (See section 7.19.6.2 of the C9X rationale -- WG14/N897.)
  */
 
-libc_hidden_proto(ungetc)
+/* libc_hidden_proto(ungetc) */
 int ungetc(int c, register FILE *stream)
 {
        __STDIO_AUTO_THREADLOCK_VAR;
index 5790222..438cb75 100644 (file)
@@ -12,7 +12,7 @@
  * as reset stream->__ungot_width[1] for use by _stdio_adjpos().
  */
 
-libc_hidden_proto(ungetwc)
+/* libc_hidden_proto(ungetwc) */
 wint_t ungetwc(wint_t c, register FILE *stream)
 {
        __STDIO_AUTO_THREADLOCK_VAR;
index 3c82568..02f495e 100644 (file)
 #else
 
 #ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
-libc_hidden_proto(open_memstream)
+/* libc_hidden_proto(open_memstream) */
 /* libc_hidden_proto(fclose) */
 /* libc_hidden_proto(vfprintf) */
 #else
-libc_hidden_proto(vsnprintf)
+/* libc_hidden_proto(vsnprintf) */
 #endif
 
-libc_hidden_proto(vasprintf)
+/* libc_hidden_proto(vasprintf) */
 int vasprintf(char **__restrict buf, const char * __restrict format,
                         va_list arg)
 {
index f00df05..b51aba4 100644 (file)
@@ -14,9 +14,9 @@
 #ifdef __USE_OLD_VFPRINTF__
 /* libc_hidden_proto(vfprintf) */
 #endif
-libc_hidden_proto(fflush_unlocked)
+/* libc_hidden_proto(fflush_unlocked) */
 
-libc_hidden_proto(vdprintf)
+/* libc_hidden_proto(vdprintf) */
 int vdprintf(int filedes, const char * __restrict format, va_list arg)
 {
        FILE f;
index 06636c2..01ffb4b 100644 (file)
@@ -8,7 +8,7 @@
 #include "_stdio.h"
 #include <stdarg.h>
 
-libc_hidden_proto(vsnprintf)
+/* libc_hidden_proto(vsnprintf) */
 
 #ifdef __USE_OLD_VFPRINTF__
 /* libc_hidden_proto(vfprintf) */
index 8e27c19..b44789e 100644 (file)
@@ -12,7 +12,7 @@
 #warning Skipping vsprintf since no vsnprintf!
 #else
 
-libc_hidden_proto(vsnprintf)
+/* libc_hidden_proto(vsnprintf) */
 
 int vsprintf(char *__restrict buf, const char * __restrict format,
                         va_list arg)
index cddf1d5..beadb8a 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-libc_hidden_proto(vswprintf)
+/* libc_hidden_proto(vswprintf) */
 
 /* NB: this file is not used if __USE_OLD_VFPRINTF__ */
 
index 1c32887..4e666cb 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-libc_hidden_proto(vfwprintf)
+/* libc_hidden_proto(vfwprintf) */
 
 int vwprintf(const wchar_t * __restrict format, va_list arg)
 {
index 9dc274a..80d76d5 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-libc_hidden_proto(vfwprintf)
+/* libc_hidden_proto(vfwprintf) */
 
 int wprintf(const wchar_t * __restrict format, ...)
 {
index c98bcfa..3845759 100644 (file)
@@ -23,8 +23,8 @@ Cambridge, MA 02139, USA.
 #include <malloc.h>
 
 /* libc_hidden_proto(_exit) */
-libc_hidden_proto(__uc_malloc)
-libc_hidden_proto(__uc_malloc_failed)
+/* libc_hidden_proto(__uc_malloc) */
+/* libc_hidden_proto(__uc_malloc_failed) */
 
 void (*__uc_malloc_failed)(size_t size) = NULL;
 /* Seemingly superfluous assigment of NULL above prevents gas error
index 3ceadce..aac5b81 100644 (file)
 #include <wchar.h>
 #include <wctype.h>
 #include <bits/uClibc_uwchar.h>
-libc_hidden_proto(iswspace)
+/* libc_hidden_proto(iswspace) */
 #endif
 
 #ifdef __UCLIBC_HAS_XLOCALE__
 #include <xlocale.h>
-libc_hidden_proto(iswspace_l)
+/* libc_hidden_proto(iswspace_l) */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 
 /* Handle _STRTOD_HEXADECIMAL_FLOATS via uClibc config now. */
index 8425166..7291d0e 100644 (file)
@@ -31,7 +31,7 @@ Cambridge, MA 02139, USA.  */
 /* Experimentally off - libc_hidden_proto(memset) */
 /* libc_hidden_proto(sigaction) */
 /* libc_hidden_proto(sigprocmask) */
-libc_hidden_proto(raise)
+/* libc_hidden_proto(raise) */
 /* libc_hidden_proto(_exit) */
 
 /* Our last ditch effort to commit suicide */
index 0fab85c..e7d69f1 100644 (file)
@@ -168,7 +168,7 @@ arc4_getword(as)
        return val;
 }
 
-libc_hidden_proto(arc4random_stir)
+/* libc_hidden_proto(arc4random_stir) */
 void
 arc4random_stir(void)
 {
index f96947c..f0d20de 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(erand48_r)
+/* libc_hidden_proto(erand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index 1000a3a..96fb186 100644 (file)
@@ -21,7 +21,7 @@
 #include <math.h>
 #include <stdlib.h>
 
-libc_hidden_proto(erand48_r)
+/* libc_hidden_proto(erand48_r) */
 
 int drand48_r (struct drand48_data *buffer, double *result)
 {
index 853c2c3..913d6ed 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(erand48_r)
+/* libc_hidden_proto(erand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index 42db6f7..f367f8d 100644 (file)
@@ -24,7 +24,7 @@
 extern int __drand48_iterate(unsigned short xsubi[3],
        struct drand48_data *buffer) attribute_hidden;
 
-libc_hidden_proto(erand48_r)
+/* libc_hidden_proto(erand48_r) */
 int erand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, double *result)
 {
     union ieee754_double temp;
index 6f81206..7bfc9d6 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(jrand48_r)
+/* libc_hidden_proto(jrand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index fe77c3c..da2a150 100644 (file)
@@ -22,7 +22,7 @@
 extern int __drand48_iterate(unsigned short xsubi[3],
        struct drand48_data *buffer) attribute_hidden;
 
-libc_hidden_proto(jrand48_r)
+/* libc_hidden_proto(jrand48_r) */
 int jrand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, long int *result)
 {
     /* Compute next state.  */
index 863951f..33d0e91 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(nrand48_r)
+/* libc_hidden_proto(nrand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index 277fb9a..c3aa89a 100644 (file)
@@ -19,9 +19,9 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(nrand48_r)
+/* libc_hidden_proto(nrand48_r) */
 
-libc_hidden_proto(lrand48_r)
+/* libc_hidden_proto(lrand48_r) */
 int lrand48_r (struct drand48_data *buffer, long int *result)
 {
     /* Be generous for the arguments, detect some errors.  */
index c8aa1f4..e729494 100644 (file)
@@ -20,7 +20,7 @@
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /*libc_hidden_proto(memset)*/
 /* libc_hidden_proto(mmap) */
-libc_hidden_proto(munmap)
+/* libc_hidden_proto(munmap) */
 
 #ifdef L_malloc
 void *malloc(size_t size)
index 4d24697..9fbf563 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "malloc.h"
 
-libc_hidden_proto(munmap)
+/* libc_hidden_proto(munmap) */
 
 /* ------------------------- __malloc_trim -------------------------
    __malloc_trim is an inverse of sorts to __malloc_alloc.  It gives memory
index d3b6135..4ebbe8b 100644 (file)
@@ -19,7 +19,7 @@
 /* libc_hidden_proto(fprintf) */
 
 /* ------------------------------ mallinfo ------------------------------ */
-libc_hidden_proto(mallinfo)
+/* libc_hidden_proto(mallinfo) */
 struct mallinfo mallinfo(void)
 {
     mstate av;
index b6a9130..524468c 100644 (file)
@@ -25,7 +25,7 @@
 #include <bits/uClibc_mutex.h>
 
 /* libc_hidden_proto(mmap) */
-libc_hidden_proto(sysconf)
+/* libc_hidden_proto(sysconf) */
 /* libc_hidden_proto(sbrk) */
 /* libc_hidden_proto(abort) */
 
index 41cae43..95eb0d3 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "malloc.h"
 
-libc_hidden_proto(mremap)
+/* libc_hidden_proto(mremap) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 
 /* ------------------------------ realloc ------------------------------ */
index 95b7abc..5dd3a76 100644 (file)
@@ -15,7 +15,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 
-libc_hidden_proto(munmap)
+/* libc_hidden_proto(munmap) */
 /* libc_hidden_proto(sbrk) */
 
 #include "malloc.h"
index c19059b..01f9bfd 100644 (file)
@@ -16,9 +16,9 @@
 #include <unistd.h>
 #include <stdarg.h>
 
-libc_hidden_proto(atoi)
+/* libc_hidden_proto(atoi) */
 /* libc_hidden_proto(vfprintf) */
-libc_hidden_proto(putc)
+/* libc_hidden_proto(putc) */
 /* libc_hidden_proto(getenv) */
 
 #include "malloc.h"
index 6905545..131c4b9 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(jrand48_r)
+/* libc_hidden_proto(jrand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index ca2bd7b..0127fdd 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(jrand48_r)
+/* libc_hidden_proto(jrand48_r) */
 
 int mrand48_r (struct drand48_data *buffer, long int *result)
 {
index 0199a30..e69afd7 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(nrand48_r)
+/* libc_hidden_proto(nrand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index 63b0ac8..acf813e 100644 (file)
@@ -22,7 +22,7 @@
 extern int __drand48_iterate(unsigned short xsubi[3],
        struct drand48_data *buffer) attribute_hidden;
 
-libc_hidden_proto(nrand48_r)
+/* libc_hidden_proto(nrand48_r) */
 int nrand48_r (unsigned short int xsubi[3], struct drand48_data *buffer, long int *result)
 {
     /* Compute next state.  */
index 4ac2fcd..3e4a1cf 100644 (file)
@@ -32,7 +32,7 @@
 /* Experimentally off - libc_hidden_proto(strcat) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(isatty)
+/* libc_hidden_proto(isatty) */
 /* libc_hidden_proto(ioctl) */
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(stat) */
@@ -68,7 +68,7 @@ extern const char __libc_ptyname2[] attribute_hidden;
 /* Store at most BUFLEN characters of the pathname of the slave pseudo
    terminal associated with the master FD is open on in BUF.
    Return 0 on success, otherwise an error number.  */
-libc_hidden_proto(ptsname_r)
+/* libc_hidden_proto(ptsname_r) */
 int ptsname_r (int fd, char *buf, size_t buflen)
 {
   int save_errno = errno;
index 03323f5..61aaa91 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(random)
+/* libc_hidden_proto(random) */
 
 int rand (void)
 {
index 3eb8aed..6d5d06e 100644 (file)
 #include <stddef.h>
 #include <stdlib.h>
 
-libc_hidden_proto(random_r)
-libc_hidden_proto(srandom_r)
-libc_hidden_proto(setstate_r)
-libc_hidden_proto(initstate_r)
+/* libc_hidden_proto(random_r) */
+/* libc_hidden_proto(srandom_r) */
+/* libc_hidden_proto(setstate_r) */
+/* libc_hidden_proto(initstate_r) */
 
 /* POSIX.1c requires that there is mutual exclusion for the `rand' and
    `srand' functions to prevent concurrent calls from modifying common
@@ -244,7 +244,7 @@ char * setstate (char *arg_state)
    rear pointers can't wrap on the same call by not testing the rear
    pointer if the front one has wrapped.  Returns a 31-bit random number.  */
 
-libc_hidden_proto(random)
+/* libc_hidden_proto(random) */
 long int random (void)
 {
   int32_t retval;
index ca80a78..b6ff6af 100644 (file)
@@ -133,7 +133,7 @@ static const struct random_poly_info random_poly_info =
    rear pointers can't wrap on the same call by not testing the rear
    pointer if the front one has wrapped.  Returns a 31-bit random number.  */
 
-libc_hidden_proto(random_r)
+/* libc_hidden_proto(random_r) */
 int random_r(struct random_data *buf, int32_t *result)
 {
     int32_t *state;
@@ -191,7 +191,7 @@ libc_hidden_def(random_r)
    information a given number of times to get rid of any initial dependencies
    introduced by the L.C.R.N.G.  Note that the initialization of randtbl[]
    for default usage relies on values produced by this routine.  */
-libc_hidden_proto(srandom_r)
+/* libc_hidden_proto(srandom_r) */
 int srandom_r (unsigned int seed, struct random_data *buf)
 {
     int type;
@@ -259,7 +259,7 @@ libc_hidden_def(srandom_r)
    Note: The first thing we do is save the current state, if any, just like
    setstate so that it doesn't matter when initstate is called.
    Returns a pointer to the old state.  */
-libc_hidden_proto(initstate_r)
+/* libc_hidden_proto(initstate_r) */
 int initstate_r (unsigned int seed, char *arg_state, size_t n, struct random_data *buf)
 {
     int type;
@@ -318,7 +318,7 @@ libc_hidden_def(initstate_r)
    to the order in which things are done, it is OK to call setstate with the
    same state as the current state
    Returns a pointer to the old state information.  */
-libc_hidden_proto(setstate_r)
+/* libc_hidden_proto(setstate_r) */
 int setstate_r (char *arg_state, struct random_data *buf)
 {
     int32_t *new_state = 1 + (int32_t *) arg_state;
index e9eabdf..3a47891 100644 (file)
@@ -24,8 +24,8 @@
 /* Experimentally off - libc_hidden_proto(strcat) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(readlink)
-libc_hidden_proto(getcwd)
+/* libc_hidden_proto(readlink) */
+/* libc_hidden_proto(getcwd) */
 
 #ifndef PATH_MAX
 #ifdef _POSIX_VERSION
index f068b98..c688c1a 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(seed48_r)
+/* libc_hidden_proto(seed48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index 3769e0f..4347383 100644 (file)
@@ -23,7 +23,7 @@
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 
-libc_hidden_proto(seed48_r)
+/* libc_hidden_proto(seed48_r) */
 int seed48_r (unsigned short int seed16v[3], struct drand48_data *buffer)
 {
     /* Save old value at a private place to be used as return value.  */
index 833bd8f..cf10804 100644 (file)
@@ -30,7 +30,7 @@
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strncmp) */
 /* Experimentally off - libc_hidden_proto(strndup) */
-libc_hidden_proto(unsetenv)
+/* libc_hidden_proto(unsetenv) */
 
 #include <bits/uClibc_mutex.h>
 __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER);
@@ -133,14 +133,14 @@ int __add_to_environ (const char *name, const char *value,
     return rv;
 }
 
-libc_hidden_proto(setenv)
+/* libc_hidden_proto(setenv) */
 int setenv (const char *name, const char *value, int replace)
 {
     return __add_to_environ (name, value, NULL, replace);
 }
 libc_hidden_def(setenv)
 
-libc_hidden_proto(unsetenv)
+/* libc_hidden_proto(unsetenv) */
 int unsetenv (const char *name)
 {
     size_t len;
index 42e90c9..5f59322 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <stdlib.h>
 
-libc_hidden_proto(srand48_r)
+/* libc_hidden_proto(srand48_r) */
 
 /* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
 extern struct drand48_data __libc_drand48_data attribute_hidden;
index 45bb75f..33c2415 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <limits.h>
 
-libc_hidden_proto(srand48_r)
+/* libc_hidden_proto(srand48_r) */
 int srand48_r (long int seedval, struct drand48_data *buffer)
 {
     /* The standards say we only have 32 bits.  */
index aa55d12..7202182 100644 (file)
@@ -197,7 +197,7 @@ _stdlib_wcsto_ll(register const wchar_t * __restrict str,
 /**********************************************************************/
 #ifdef L_atof
 
-libc_hidden_proto(strtod)
+/* libc_hidden_proto(strtod) */
 
 double atof(const char *nptr)
 {
@@ -269,9 +269,9 @@ strong_alias(llabs,imaxabs)
 
 #if INT_MAX < LONG_MAX
 
-libc_hidden_proto(strtol)
+/* libc_hidden_proto(strtol) */
 
-libc_hidden_proto(atoi)
+/* libc_hidden_proto(atoi) */
 int atoi(const char *nptr)
 {
        return (int) strtol(nptr, (char **) NULL, 10);
@@ -284,9 +284,9 @@ libc_hidden_def(atoi)
 /**********************************************************************/
 #ifdef L_atol
 
-libc_hidden_proto(strtol)
+/* libc_hidden_proto(strtol) */
 
-libc_hidden_proto(atol)
+/* libc_hidden_proto(atol) */
 long atol(const char *nptr)
 {
        return strtol(nptr, (char **) NULL, 10);
@@ -313,7 +313,7 @@ strong_alias(atol,atoll)
 
 #if defined(ULLONG_MAX) && (LLONG_MAX > LONG_MAX)
 
-libc_hidden_proto(strtoll)
+/* libc_hidden_proto(strtoll) */
 
 long long atoll(const char *nptr)
 {
@@ -465,10 +465,10 @@ strong_alias(strtoull,strtouq)
 #define Wuchar __uwchar_t
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) iswspace_l((C), locale_arg)
-libc_hidden_proto(iswspace_l)
+/* libc_hidden_proto(iswspace_l) */
 #else
 #define ISSPACE(C) iswspace((C))
-libc_hidden_proto(iswspace)
+/* libc_hidden_proto(iswspace) */
 #endif
 
 #else  /* defined(L__stdlib_wcsto_l) || defined(L__stdlib_wcsto_l_l) */
@@ -477,10 +477,10 @@ libc_hidden_proto(iswspace)
 #define Wuchar unsigned char
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) isspace_l((C), locale_arg)
-libc_hidden_proto(isspace_l)
+/* libc_hidden_proto(isspace_l) */
 #else
 #define ISSPACE(C) isspace((C))
-libc_hidden_proto(isspace)
+/* libc_hidden_proto(isspace) */
 #endif
 
 #endif /* defined(L__stdlib_wcsto_l) || defined(L__stdlib_wcsto_l_l) */
@@ -620,10 +620,10 @@ unsigned long attribute_hidden __XL_NPP(_stdlib_strto_l)(register const Wchar *
 #define Wuchar __uwchar_t
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) iswspace_l((C), locale_arg)
-libc_hidden_proto(iswspace_l)
+/* libc_hidden_proto(iswspace_l) */
 #else
 #define ISSPACE(C) iswspace((C))
-libc_hidden_proto(iswspace)
+/* libc_hidden_proto(iswspace) */
 #endif
 
 #else  /* defined(L__stdlib_wcsto_ll) || defined(L__stdlib_wcsto_ll_l) */
@@ -632,10 +632,10 @@ libc_hidden_proto(iswspace)
 #define Wuchar unsigned char
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) isspace_l((C), locale_arg)
-libc_hidden_proto(isspace_l)
+/* libc_hidden_proto(isspace_l) */
 #else
 #define ISSPACE(C) isspace((C))
-libc_hidden_proto(isspace)
+/* libc_hidden_proto(isspace) */
 #endif
 
 #endif /* defined(L__stdlib_wcsto_ll) || defined(L__stdlib_wcsto_ll_l) */
@@ -816,7 +816,7 @@ void *bsearch(const void *key, const void *base, size_t /* nmemb */ high,
  * calculation, as well as to reduce the generated code size with
  * bcc and gcc. */
 
-libc_hidden_proto(qsort)
+/* libc_hidden_proto(qsort) */
 void qsort(void  *base,
            size_t nel,
            size_t width,
@@ -912,7 +912,7 @@ void ssort(void  *base,
 /**********************************************************************/
 #ifdef L__stdlib_mb_cur_max
 
-libc_hidden_proto(_stdlib_mb_cur_max)
+/* libc_hidden_proto(_stdlib_mb_cur_max) */
 size_t _stdlib_mb_cur_max(void)
 {
 #ifdef __CTYPE_HAS_UTF_8_LOCALES
@@ -956,7 +956,7 @@ static __always_inline int is_stateful(unsigned char encoding)
 /**********************************************************************/
 #ifdef L_mblen
 
-libc_hidden_proto(mbrlen)
+/* libc_hidden_proto(mbrlen) */
 
 int mblen(register const char *s, size_t n)
 {
@@ -988,7 +988,7 @@ int mblen(register const char *s, size_t n)
 /**********************************************************************/
 #ifdef L_mbtowc
 
-libc_hidden_proto(mbrtowc)
+/* libc_hidden_proto(mbrtowc) */
 
 int mbtowc(wchar_t *__restrict pwc, register const char *__restrict s, size_t n)
 {
@@ -1023,7 +1023,7 @@ int mbtowc(wchar_t *__restrict pwc, register const char *__restrict s, size_t n)
 
 /* Note: We completely ignore state in all currently supported conversions. */
 
-libc_hidden_proto(wcrtomb)
+/* libc_hidden_proto(wcrtomb) */
 
 int wctomb(register char *__restrict s, wchar_t swc)
 {
@@ -1042,7 +1042,7 @@ int wctomb(register char *__restrict s, wchar_t swc)
 /**********************************************************************/
 #ifdef L_mbstowcs
 
-libc_hidden_proto(mbsrtowcs)
+/* libc_hidden_proto(mbsrtowcs) */
 
 size_t mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n)
 {
@@ -1059,7 +1059,7 @@ size_t mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n)
 
 /* Note: We completely ignore state in all currently supported conversions. */
 
-libc_hidden_proto(wcsrtombs)
+/* libc_hidden_proto(wcsrtombs) */
 
 size_t wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n)
 {
index 33091da..9244892 100644 (file)
 #include <stdlib.h>
 
 /* libc_hidden_proto(_exit) */
-libc_hidden_proto(wait4)
-libc_hidden_proto(execl)
-libc_hidden_proto(signal)
-libc_hidden_proto(vfork)
+/* libc_hidden_proto(wait4) */
+/* libc_hidden_proto(execl) */
+/* libc_hidden_proto(signal) */
+/* libc_hidden_proto(vfork) */
 
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
 #ifndef __NR_vfork
 # define vfork fork
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
 #endif
 
 extern __typeof(system) __libc_system;
index 5d62846..25c3352 100644 (file)
 #include "pty-private.h"
 
 /* Experimentally off - libc_hidden_proto(memchr) */
-libc_hidden_proto(getgid)
-libc_hidden_proto(getuid)
-libc_hidden_proto(setrlimit)
-libc_hidden_proto(waitpid)
-libc_hidden_proto(dup2)
-libc_hidden_proto(chmod)
-libc_hidden_proto(chown)
-libc_hidden_proto(vfork)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(getgid) */
+/* libc_hidden_proto(getuid) */
+/* libc_hidden_proto(setrlimit) */
+/* libc_hidden_proto(waitpid) */
+/* libc_hidden_proto(dup2) */
+/* libc_hidden_proto(chmod) */
+/* libc_hidden_proto(chown) */
+/* libc_hidden_proto(vfork) */
+/* libc_hidden_proto(fork) */
 /* libc_hidden_proto(stat) */
-libc_hidden_proto(ptsname_r)
-libc_hidden_proto(execle)
+/* libc_hidden_proto(ptsname_r) */
+/* libc_hidden_proto(execle) */
 /* libc_hidden_proto(_exit) */
 
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
index 13dbe0f..d2aca40 100644 (file)
@@ -24,7 +24,7 @@ Cambridge, MA 02139, USA.
 #include <unistd.h>
 #include <malloc.h>
 
-libc_hidden_proto(getpagesize)
+/* libc_hidden_proto(getpagesize) */
 
 static size_t pagesize;
 
index 0f9cd16..2b856e9 100644 (file)
@@ -8,8 +8,8 @@
 #include <features.h>
 #include <string.h>
 
-libc_hidden_proto(__glibc_strerror_r)
-libc_hidden_proto(__xpg_strerror_r)
+/* libc_hidden_proto(__glibc_strerror_r) */
+/* libc_hidden_proto(__xpg_strerror_r) */
 
 char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 {
index ff41192..274b6ce 100644 (file)
@@ -15,7 +15,7 @@
 
 #undef strerror_r
 
-libc_hidden_proto(__xpg_strerror_r)
+/* libc_hidden_proto(__xpg_strerror_r) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
 
index 64b5d96..3c53404 100644 (file)
@@ -24,8 +24,8 @@
 /* Experimentally off - libc_hidden_proto(strlcpy) */
 /* Experimentally off - libc_hidden_proto(strcmp) */
 #ifdef WANT_WIDE
-libc_hidden_proto(wcsxfrm)
-libc_hidden_proto(wcscmp)
+/* libc_hidden_proto(wcsxfrm) */
+/* libc_hidden_proto(wcscmp) */
 #endif
 
 #ifdef __UCLIBC_HAS_LOCALE__
@@ -59,18 +59,18 @@ libc_hidden_proto(wcscmp)
 
 #if defined(__UCLIBC_HAS_XLOCALE__) && !defined(__UCLIBC_DO_XLOCALE)
 
-libc_hidden_proto(wcscoll_l)
+/* libc_hidden_proto(wcscoll_l) */
 
-libc_hidden_proto(wcscoll)
+/* libc_hidden_proto(wcscoll) */
 int wcscoll (const Wchar *s0, const Wchar *s1)
 {
        return wcscoll_l(s0, s1, __UCLIBC_CURLOCALE );
 }
 libc_hidden_def(wcscoll)
 
-libc_hidden_proto(wcsxfrm_l)
+/* libc_hidden_proto(wcsxfrm_l) */
 
-libc_hidden_proto(wcsxfrm)
+/* libc_hidden_proto(wcsxfrm) */
 size_t wcsxfrm(Wchar *__restrict ws1, const Wchar *__restrict ws2, size_t n)
 {
        return wcsxfrm_l(ws1, ws2, n, __UCLIBC_CURLOCALE );
index a5254f3..94c8ff4 100644 (file)
 #ifdef WANT_WIDE
 # define strcasecmp wcscasecmp
 # define strcasecmp_l wcscasecmp_l
-libc_hidden_proto(wcscasecmp)
+/* libc_hidden_proto(wcscasecmp) */
 # if defined(__USE_GNU) && defined(__UCLIBC_HAS_XLOCALE__)
-libc_hidden_proto(wcscasecmp_l)
+/* libc_hidden_proto(wcscasecmp_l) */
 # endif
 # ifdef __UCLIBC_DO_XLOCALE
-libc_hidden_proto(towlower_l)
+/* libc_hidden_proto(towlower_l) */
 #  define TOLOWER(C) towlower_l((C), locale_arg)
 # else
-libc_hidden_proto(towlower)
+/* libc_hidden_proto(towlower) */
 #  define TOLOWER(C) towlower((C))
 # endif
 #else
 /* Experimentally off - libc_hidden_proto(strcasecmp) */
 /* Experimentally off - libc_hidden_proto(strcasecmp_l) */
 # ifdef __UCLIBC_DO_XLOCALE
-libc_hidden_proto(tolower_l)
+/* libc_hidden_proto(tolower_l) */
 #  define TOLOWER(C) tolower_l((C), locale_arg)
 # else
 #if !defined __UCLIBC_HAS_XLOCALE__ && defined __UCLIBC_HAS_CTYPE_TABLES__
index 61fc186..9eb2863 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdlib.h>
 
 #ifdef WANT_WIDE
-libc_hidden_proto(wcslen)
+/* libc_hidden_proto(wcslen) */
 # define Wstrdup wcsdup
 # define Wstrlen wcslen
 #else
index 355c7bd..a52c407 100644 (file)
@@ -10,7 +10,7 @@
 #include "_syserrmsg.h"
 
 /* Experimentally off - libc_hidden_proto(strerror) */
-libc_hidden_proto(__xpg_strerror_r)
+/* libc_hidden_proto(__xpg_strerror_r) */
 
 char *strerror(int errnum)
 {
index 9df9be5..a9e7245 100644 (file)
 #ifdef WANT_WIDE
 # define strncasecmp wcsncasecmp
 # define strncasecmp_l wcsncasecmp_l
-libc_hidden_proto(wcsncasecmp)
+/* libc_hidden_proto(wcsncasecmp) */
 # if defined(__USE_GNU) && defined(__UCLIBC_HAS_XLOCALE__)
-libc_hidden_proto(wcsncasecmp_l)
+/* libc_hidden_proto(wcsncasecmp_l) */
 # endif
 # ifdef __UCLIBC_DO_XLOCALE
-libc_hidden_proto(towlower_l)
+/* libc_hidden_proto(towlower_l) */
 #  define TOLOWER(C) towlower_l((C), locale_arg)
 # else
-libc_hidden_proto(towlower)
+/* libc_hidden_proto(towlower) */
 #  define TOLOWER(C) towlower((C))
 # endif
 #else
 /* Experimentally off - libc_hidden_proto(strncasecmp) */
 /* Experimentally off - libc_hidden_proto(strncasecmp_l) */
 # ifdef __UCLIBC_DO_XLOCALE
-libc_hidden_proto(tolower_l)
+/* libc_hidden_proto(tolower_l) */
 #  define TOLOWER(C) tolower_l((C), locale_arg)
 # else
 #if !defined __UCLIBC_HAS_XLOCALE__ && defined __UCLIBC_HAS_CTYPE_TABLES__
index 2ad7746..c812319 100644 (file)
@@ -8,8 +8,8 @@
 #include "_string.h"
 
 #ifdef WANT_WIDE
-libc_hidden_proto(wcsspn)
-libc_hidden_proto(wcspbrk)
+/* libc_hidden_proto(wcsspn) */
+/* libc_hidden_proto(wcspbrk) */
 # define Wstrtok_r wcstok
 # define Wstrspn wcsspn
 # define Wstrpbrk wcspbrk
index e0985b4..53943ac 100644 (file)
@@ -20,7 +20,7 @@
 #include <assert.h>
 #include <stdlib.h>
 
-libc_hidden_proto(__assert)
+/* libc_hidden_proto(__assert) */
 
 void
 __aeabi_assert (const char *assertion, const char *file,
index c9e9dd2..6fa29bb 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <locale.h>
 
-libc_hidden_proto(localeconv)
+/* libc_hidden_proto(localeconv) */
 
 struct lconv *
 __aeabi_localeconv (void)
index 937a7ff..109feb1 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 
 #ifdef __UCLIBC_HAS_WCHAR__
-libc_hidden_proto(_stdlib_mb_cur_max)
+/* libc_hidden_proto(_stdlib_mb_cur_max) */
 #endif
 
 int
index daa8b72..d5e642c 100644 (file)
 #include <sys/sysctl.h>
 #include <sys/io.h>
 
-libc_hidden_proto(ioperm)
+/* libc_hidden_proto(ioperm) */
 
-libc_hidden_proto(readlink)
+/* libc_hidden_proto(readlink) */
 /* libc_hidden_proto(mmap) */
-libc_hidden_proto(sscanf)
-libc_hidden_proto(fscanf)
+/* libc_hidden_proto(sscanf) */
+/* libc_hidden_proto(fscanf) */
 /* libc_hidden_proto(fprintf) */
 /* libc_hidden_proto(fgets) */
 /* libc_hidden_proto(fopen) */
index 654a415..ecb1cd1 100644 (file)
@@ -21,7 +21,7 @@
 #include <sys/io.h>
 #include <errno.h>
 
-libc_hidden_proto(ioperm)
+/* libc_hidden_proto(ioperm) */
 
 #define MAX_PORT       0x10000
 
index c018043..6dc8725 100644 (file)
@@ -12,8 +12,8 @@
 #define __need_NULL
 #include <stddef.h>
 
-libc_hidden_proto(sigwaitinfo)
-libc_hidden_proto(sigtimedwait)
+/* libc_hidden_proto(sigwaitinfo) */
+/* libc_hidden_proto(sigtimedwait) */
 
 #ifdef __NR_rt_sigtimedwait
 #define __NR___rt_sigtimedwait __NR_rt_sigtimedwait
index 3860050..e95c6fe 100644 (file)
@@ -53,7 +53,7 @@ weak_alias(__libc_fcntl,fcntl)
 libc_hidden_weak(fcntl)
 #if ! defined __NR_fcntl64 && defined __UCLIBC_HAS_LFS__
 strong_alias(__libc_fcntl,__libc_fcntl64)
-libc_hidden_proto(fcntl64)
+/* libc_hidden_proto(fcntl64) */
 weak_alias(__libc_fcntl,fcntl64)
 libc_hidden_weak(fcntl64)
 #endif
index 579e0e2..cd5c59b 100644 (file)
@@ -30,7 +30,7 @@ int __libc_fcntl64(int fd, int cmd, ...)
 }
 libc_hidden_def(__libc_fcntl64)
 
-libc_hidden_proto(fcntl64)
+/* libc_hidden_proto(fcntl64) */
 strong_alias(__libc_fcntl64,fcntl64)
 libc_hidden_weak(fcntl64)
 #endif
index 05e3679..725c829 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/timex.h>
 
-libc_hidden_proto(adjtimex)
+/* libc_hidden_proto(adjtimex) */
 
 _syscall1(int, adjtimex, struct timex *, buf)
 libc_hidden_def(adjtimex)
index 224656c..6042ad2 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(alarm)
+/* libc_hidden_proto(alarm) */
 
 #ifdef __NR_alarm
 #define __NR___alarm __NR_alarm
@@ -18,7 +18,7 @@ _syscall1(unsigned int, alarm, unsigned int, seconds)
 #else
 #include <sys/time.h>
 
-libc_hidden_proto(setitimer)
+/* libc_hidden_proto(setitimer) */
 
 unsigned int alarm(unsigned int seconds)
 {
index a5ac1a4..92227fe 100644 (file)
@@ -41,6 +41,7 @@
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));
+libc_hidden_proto(__errno_location)
 
 #  ifdef __UCLIBC_HAS_THREADS__
 /* When using threads, errno is a per-thread value.  */
index a28d0a4..0307757 100644 (file)
@@ -153,8 +153,10 @@ struct option
    errors, only prototype getopt for the GNU C library.  */
 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
        __THROW;
+libc_hidden_proto(getopt)
 #else /* not __GNU_LIBRARY__ */
 extern int getopt ();
+libc_hidden_proto(getopt)
 #endif /* __GNU_LIBRARY__ */
 
 #if defined __UCLIBC_HAS_GNU_GETOPT__ || defined __UCLIBC_HAS_GETOPT_LONG__
index c352a17..ac5a433 100644 (file)
@@ -269,6 +269,7 @@ struct cmsghdr
 
 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
                                      struct cmsghdr *__cmsg) __THROW;
+libc_hidden_proto(__cmsg_nxthdr)
 #ifdef __USE_EXTERN_INLINES
 # ifndef _EXTERN_INLINE
 #  define _EXTERN_INLINE extern __inline
index 843a2f2..3631ef7 100644 (file)
@@ -382,7 +382,9 @@ extern void __stdio_init_mutex(__UCLIBC_MUTEX_TYPE *m) attribute_hidden;
 #endif
 
 extern int __fgetc_unlocked(FILE *__stream);
+libc_hidden_proto(__fgetc_unlocked)
 extern int __fputc_unlocked(int __c, FILE *__stream);
+libc_hidden_proto(__fputc_unlocked)
 
 /* First define the default definitions.
    They are overridden below as necessary. */
index ee889ba..05441eb 100644 (file)
@@ -12,7 +12,7 @@
 #include <unistd.h>
 #include <sys/param.h>
 
-libc_hidden_proto(chdir)
+/* libc_hidden_proto(chdir) */
 
 #define __NR___syscall_chdir __NR_chdir
 static __inline__ _syscall1(int, __syscall_chdir, const char *, path)
index da0dff6..a4524ba 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/stat.h>
 
-libc_hidden_proto(chmod)
+/* libc_hidden_proto(chmod) */
 
 #define __NR___syscall_chmod __NR_chmod
 static __inline__ _syscall2(int, __syscall_chmod, const char *, path, __kernel_mode_t, mode)
index f325071..2e7784a 100644 (file)
@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <bits/wordsize.h>
 
-libc_hidden_proto(chown)
+/* libc_hidden_proto(chown) */
 
 #if (__WORDSIZE == 32 && defined(__NR_chown32)) || __WORDSIZE == 64
 # ifdef __NR_chown32
index e0eb1b6..4964ec5 100644 (file)
@@ -14,7 +14,7 @@
 #ifdef __NR_clock_getres
 _syscall2(int, clock_getres, clockid_t, clock_id, struct timespec*, res)
 #else
-libc_hidden_proto(sysconf)
+/* libc_hidden_proto(sysconf) */
 
 int clock_getres(clockid_t clock_id, struct timespec* res)
 {
index 652bceb..f11088a 100644 (file)
@@ -14,7 +14,7 @@
 #ifdef __NR_clock_settime
 _syscall2(int, clock_settime, clockid_t, clock_id, const struct timespec*, tp)
 #else
-libc_hidden_proto(settimeofday)
+/* libc_hidden_proto(settimeofday) */
 
 int clock_settime(clockid_t clock_id, const struct timespec* tp)
 {
index 8350c3a..7dbf7be 100644 (file)
@@ -21,7 +21,7 @@
 #include <features.h>
 #include <sys/socket.h>
 
-libc_hidden_proto(__cmsg_nxthdr)
+/* libc_hidden_proto(__cmsg_nxthdr) */
 
 struct cmsghdr *
 __cmsg_nxthdr (struct msghdr *mhdr, struct cmsghdr *cmsg)
index f5f0018..875606a 100644 (file)
@@ -23,7 +23,7 @@
 #include <sys/types.h>
 
 extern __typeof(open64) __libc_open64;
-libc_hidden_proto(__libc_open64)
+/* libc_hidden_proto(__libc_open64) */
 extern __typeof(creat64) __libc_creat64;
 
 /* Create FILE with protections MODE.  */
index da885a9..2a315fe 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(dup2)
+/* libc_hidden_proto(dup2) */
 
 _syscall2(int, dup2, int, oldfd, int, newfd)
 libc_hidden_def(dup2)
index 5e947d6..53efd78 100644 (file)
@@ -12,7 +12,7 @@
 #include <string.h>
 #include <sys/param.h>
 
-libc_hidden_proto(execve)
+/* libc_hidden_proto(execve) */
 _syscall3(int, execve, const char *, filename,
                  char *const *, argv, char *const *, envp)
 libc_hidden_def(execve)
index 00a857c..45236f1 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(fchdir)
+/* libc_hidden_proto(fchdir) */
 
 _syscall1(int, fchdir, int, fd)
 libc_hidden_def(fchdir)
index 7c12814..5993387 100644 (file)
@@ -16,7 +16,7 @@
 extern __typeof(fork) __libc_fork;
 #define __NR___libc_fork __NR_fork
 _syscall0(pid_t, __libc_fork)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
 weak_alias(__libc_fork,fork)
 libc_hidden_weak(fork)
 #endif
@@ -28,7 +28,7 @@ pid_t __libc_fork(void)
        __set_errno(ENOSYS);
        return -1;
 }
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
 weak_alias(__libc_fork,fork)
 libc_hidden_weak(fork)
 link_warning(fork, "fork: this function is not implemented on no-mmu systems")
index 34a6e7b..6d5cf8b 100644 (file)
@@ -38,7 +38,7 @@ libc_hidden_def(fstat)
 
 #if ! defined __NR_fstat64 && defined __UCLIBC_HAS_LFS__
 extern __typeof(fstat) fstat64;
-libc_hidden_proto(fstat64)
+/* libc_hidden_proto(fstat64) */
 strong_alias(fstat,fstat64)
 libc_hidden_def(fstat64)
 #endif
index 5dfb23d..a57b4f6 100644 (file)
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 #include "xstatconv.h"
 
-libc_hidden_proto(fstat64)
+/* libc_hidden_proto(fstat64) */
 
 #define __NR___syscall_fstat64 __NR_fstat64
 static __inline__ _syscall2(int, __syscall_fstat64,
index 3449d80..a7a6ea6 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(ftruncate)
+/* libc_hidden_proto(ftruncate) */
 
 _syscall2(int, ftruncate, int, fd, __off_t, length)
 libc_hidden_def(ftruncate)
index 4876087..1327891 100644 (file)
@@ -21,7 +21,7 @@
 # include <sys/types.h>
 # include <sys/syscall.h>
 
-libc_hidden_proto(ftruncate64)
+/* libc_hidden_proto(ftruncate64) */
 
 # ifdef __NR_ftruncate64
 
@@ -64,7 +64,7 @@ int ftruncate64 (int fd, __off64_t length)
 
 # else  /* __NR_ftruncate64 */
 
-libc_hidden_proto(ftruncate)
+/* libc_hidden_proto(ftruncate) */
 
 int ftruncate64 (int fd, __off64_t length)
 {
index 07e1481..1361915 100644 (file)
 #include <sys/param.h>
 #include <sys/syscall.h>
 
-libc_hidden_proto(getcwd)
-libc_hidden_proto(getpagesize)
+/* libc_hidden_proto(getcwd) */
+/* libc_hidden_proto(getpagesize) */
 
 /* Experimentally off - libc_hidden_proto(strcat) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strncpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(readdir)
-libc_hidden_proto(closedir)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(readdir) */
+/* libc_hidden_proto(closedir) */
 /* libc_hidden_proto(stat) */
 
 #ifdef __NR_getcwd
index d789d0f..1864ff4 100644 (file)
@@ -21,7 +21,7 @@
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(lseek64)
+/* libc_hidden_proto(lseek64) */
 
 # ifndef offsetof
 #  define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
index 2eba80c..4b793fa 100644 (file)
 #include <string.h>
 
 /* Experimentally off - libc_hidden_proto(strdup) */
-libc_hidden_proto(getcwd)
+/* libc_hidden_proto(getcwd) */
 /* libc_hidden_proto(getenv) */
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(stat64) */
 #else
 /* libc_hidden_proto(stat) */
 #endif
index 86f6dfd..c561aa3 100644 (file)
@@ -14,7 +14,7 @@
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
-libc_hidden_proto(uname)
+/* libc_hidden_proto(uname) */
 
 #if !defined __UCLIBC_BSD_SPECIFIC__
 extern int getdomainname (char *__name, size_t __len)
@@ -50,7 +50,7 @@ int __libc_getdomainname(char *name, size_t len)
 }
 libc_hidden_def(__libc_getdomainname)
 #if defined __UCLIBC_BSD_SPECIFIC__
-libc_hidden_proto(getdomainname)
+/* libc_hidden_proto(getdomainname) */
 weak_alias(__libc_getdomainname,getdomainname)
 libc_hidden_weak(getdomainname)
 #endif /* __UCLIBC_BSD_SPECIFIC__ */
index 44d2186..183c09e 100644 (file)
@@ -11,9 +11,9 @@
 
 /* XXX: _BSD || _XOPEN_SOURCE >= 500 */
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
-libc_hidden_proto(getdtablesize)
+/* libc_hidden_proto(getdtablesize) */
 
-libc_hidden_proto(getrlimit)
+/* libc_hidden_proto(getrlimit) */
 
 #define __LOCAL_OPEN_MAX           256
 
index ad80e3a..20a6791 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(getegid)
+/* libc_hidden_proto(getegid) */
 
 #if defined(__NR_getegid32)
 # undef __NR_getegid
@@ -25,7 +25,7 @@ gid_t getegid(void)
        return (__syscall_getegid());
 }
 #else
-libc_hidden_proto(getgid)
+/* libc_hidden_proto(getgid) */
 
 gid_t getegid(void)
 {
index 63ee1da..b9332a9 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(geteuid)
+/* libc_hidden_proto(geteuid) */
 
 #if defined(__NR_geteuid32)
 # undef __NR_geteuid
@@ -26,7 +26,7 @@ uid_t geteuid(void)
 }
 
 #else
-libc_hidden_proto(getuid)
+/* libc_hidden_proto(getuid) */
 uid_t geteuid(void)
 {
        return (getuid());
index 8fb633b..f42a173 100644 (file)
@@ -19,6 +19,6 @@
 # define __NR_getgid __NR_getgid32
 #endif
 
-libc_hidden_proto(getgid)
+/* libc_hidden_proto(getgid) */
 _syscall0(gid_t, getgid)
 libc_hidden_def(getgid)
index ed02de1..67d2f4f 100644 (file)
@@ -12,7 +12,7 @@
 #include <unistd.h>
 #include <grp.h>
 
-libc_hidden_proto(getgroups)
+/* libc_hidden_proto(getgroups) */
 
 #if defined(__NR_getgroups32)
 # undef __NR_getgroups
@@ -24,7 +24,7 @@ _syscall2(int, getgroups, int, size, gid_t *, list)
 
 #else
 
-libc_hidden_proto(sysconf)
+/* libc_hidden_proto(sysconf) */
 #define MIN(a,b) (((a)<(b))?(a):(b))
 
 #define __NR___syscall_getgroups __NR_getgroups
index 8fc14ff..e06fee9 100644 (file)
@@ -9,11 +9,11 @@
 #include <sys/utsname.h>
 #include <errno.h>
 
-libc_hidden_proto(gethostname)
+/* libc_hidden_proto(gethostname) */
 
 /* Experimentally off - libc_hidden_proto(strlen) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
-libc_hidden_proto(uname)
+/* libc_hidden_proto(uname) */
 
 int
 gethostname(char *name, size_t len)
index efb5fcb..96ed17b 100644 (file)
@@ -43,6 +43,6 @@ int __getpagesize(void)
 #endif /* NBPG.  */
 #endif /* EXEC_PAGESIZE.  */
 }
-libc_hidden_proto(getpagesize)
+/* libc_hidden_proto(getpagesize) */
 strong_alias(__getpagesize,getpagesize)
 libc_hidden_def(getpagesize)
index 089d9b1..58fb2b3 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(getpriority)
+/* libc_hidden_proto(getpriority) */
 
 #define __NR___syscall_getpriority __NR_getpriority
 static __inline__ _syscall2(int, __syscall_getpriority,
index 40b3c73..6297516 100644 (file)
@@ -13,7 +13,7 @@
 #include <sys/resource.h>
 #undef getrlimit64
 
-libc_hidden_proto(getrlimit)
+/* libc_hidden_proto(getrlimit) */
 
 /* Only wrap getrlimit if the new ugetrlimit is not present and getrlimit sucks */
 
index ca7aa73..1433577 100644 (file)
@@ -26,7 +26,7 @@
 
 #if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 32
 
-libc_hidden_proto(getrlimit)
+/* libc_hidden_proto(getrlimit) */
 
 /* Put the soft and hard limits for RESOURCE in *RLIMITS.
    Returns 0 if successful, -1 if not (and sets errno).  */
index 9c011f6..1b22451 100644 (file)
@@ -11,7 +11,7 @@
 #include <unistd.h>
 
 #ifdef __USE_XOPEN_EXTENDED
-libc_hidden_proto(getsid)
+/* libc_hidden_proto(getsid) */
 
 #define __NR___syscall_getsid __NR_getsid
 static __inline__ _syscall1(__kernel_pid_t, __syscall_getsid, __kernel_pid_t, pid)
index 07ebf88..ab0ea15 100644 (file)
@@ -19,6 +19,6 @@
 # define __NR_getuid __NR_getuid32
 #endif
 
-libc_hidden_proto(getuid)
+/* libc_hidden_proto(getuid) */
 _syscall0(uid_t, getuid)
 libc_hidden_def(getuid)
index 1ee1cff..3578673 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <signal.h>
 
-libc_hidden_proto(kill)
+/* libc_hidden_proto(kill) */
 
 #define __NR___syscall_kill __NR_kill
 static __inline__ _syscall2(int, __syscall_kill, __kernel_pid_t, pid, int, sig)
index 4761b33..1879464 100644 (file)
@@ -30,14 +30,14 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
 }
 #else
 extern __typeof(lseek) __libc_lseek;
-libc_hidden_proto(__libc_lseek)
+/* libc_hidden_proto(__libc_lseek) */
 
 loff_t __libc_lseek64(int fd, loff_t offset, int whence)
 {
        return(loff_t)(__libc_lseek(fd, (off_t) (offset), whence));
 }
 #endif
-libc_hidden_proto(lseek64)
+/* libc_hidden_proto(lseek64) */
 weak_alias(__libc_lseek64,lseek64)
 libc_hidden_weak(lseek64)
 /*strong_alias(__libc_lseek64,_llseek) */
index 8c0525d..ee49c9f 100644 (file)
@@ -19,6 +19,7 @@ _syscall3(__off_t, __libc_lseek, int, fildes, __off_t, offset, int, whence)
 #else
 extern __typeof(lseek64) __libc_lseek64;
 libc_hidden_proto(__libc_lseek64)
+
 __off_t __libc_lseek(int fildes, __off_t offset, int whence)
 {
        return __libc_lseek64(fildes, offset, whence);
index fb07dfe..1adbdcf 100644 (file)
@@ -39,7 +39,7 @@ libc_hidden_def(lstat)
 
 #if ! defined __NR_lstat64 && defined __UCLIBC_HAS_LFS__
 extern __typeof(lstat) lstat64;
-libc_hidden_proto(lstat64)
+/* libc_hidden_proto(lstat64) */
 strong_alias(lstat,lstat64)
 libc_hidden_def(lstat64)
 #endif
index 97e9528..8d7ce19 100644 (file)
@@ -14,7 +14,7 @@
 # include <sys/stat.h>
 # include "xstatconv.h"
 
-libc_hidden_proto(lstat64)
+/* libc_hidden_proto(lstat64) */
 
 # define __NR___syscall_lstat64 __NR_lstat64
 static __inline__ _syscall2(int, __syscall_lstat64, const char *, file_name,
index 8591c49..73234f2 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/stat.h>
 
-libc_hidden_proto(mkdir)
+/* libc_hidden_proto(mkdir) */
 
 #define __NR___syscall_mkdir __NR_mkdir
 static __inline__ _syscall2(int, __syscall_mkdir, const char *, pathname,
index cbde71e..f6f03a7 100644 (file)
@@ -21,7 +21,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
-libc_hidden_proto(mknod)
+/* libc_hidden_proto(mknod) */
 
 /* Create a named pipe (FIFO) named PATH with protections MODE.  */
 int
index e16c490..5c7f9a5 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/stat.h>
 #include <sys/sysmacros.h>
 
-libc_hidden_proto(mknod)
+/* libc_hidden_proto(mknod) */
 
 #define __NR___syscall_mknod __NR_mknod
 static __inline__ _syscall3(int, __syscall_mknod, const char *, path,
index e7c1caa..70627af 100644 (file)
 
 #ifdef __NR_mremap
 
+//vda:TODO: add comment and explain why??
+
 #define mremap _hidemremap
 #include <sys/mman.h>
 #undef mremap
 
 void *mremap(void *, size_t, size_t, int, void *);
-
 libc_hidden_proto(mremap)
+
 _syscall5(void *, mremap, void *, old_address, size_t, old_size, size_t,
                  new_size, int, may_move, void *, new_address)
 libc_hidden_def(mremap)
index 81a65fb..37b9399 100644 (file)
@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 
-libc_hidden_proto(munmap)
+/* libc_hidden_proto(munmap) */
 
 _syscall2(int, munmap, void *, start, size_t, length)
 libc_hidden_def(munmap)
index 30a27dc..24b2eb0 100644 (file)
@@ -16,7 +16,7 @@ extern __typeof(nanosleep) __libc_nanosleep;
 #define __NR___libc_nanosleep __NR_nanosleep
 _syscall2(int, __libc_nanosleep, const struct timespec *, req,
                  struct timespec *, rem)
-libc_hidden_proto(nanosleep)
+/* libc_hidden_proto(nanosleep) */
 weak_alias(__libc_nanosleep,nanosleep)
 libc_hidden_weak(nanosleep)
 #endif
index 86765a9..51997ca 100644 (file)
@@ -12,7 +12,7 @@
 #include <unistd.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(getpriority)
+/* libc_hidden_proto(getpriority) */
 
 #ifdef __NR_nice
 
@@ -23,7 +23,7 @@ static __inline__ _syscall1(int, __syscall_nice, int, incr)
 
 # include <limits.h>
 
-libc_hidden_proto(setpriority)
+/* libc_hidden_proto(setpriority) */
 
 static __inline__ int int_add_no_wrap(int a, int b)
 {
index f32e054..ff933fe 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <sys/timex.h>
 
-libc_hidden_proto(adjtimex)
+/* libc_hidden_proto(adjtimex) */
 
 int ntp_gettime(struct ntptimeval *ntv)
 {
index 1c40b3e..4d965ae 100644 (file)
@@ -37,7 +37,7 @@ int __libc_open64 (const char *file, int oflag, ...)
 }
 libc_hidden_def(__libc_open64)
 
-libc_hidden_proto(open64)
+/* libc_hidden_proto(open64) */
 weak_alias(__libc_open64,open64)
 libc_hidden_weak(open64)
 #endif /* __UCLIBC_HAS_LFS__ */
index 877717a..5c75211 100644 (file)
@@ -17,8 +17,8 @@ extern __typeof(pause) __libc_pause;
 _syscall0(int, __libc_pause)
 #else
 #include <signal.h>
-libc_hidden_proto(__sigpause)
-libc_hidden_proto(sigblock)
+/* libc_hidden_proto(__sigpause) */
+/* libc_hidden_proto(sigblock) */
 
 int __libc_pause(void)
 {
index fa0c211..02b1738 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(pipe)
+/* libc_hidden_proto(pipe) */
 
 _syscall1(int, pipe, int *, filedes)
 libc_hidden_def(pipe)
index 764a9aa..e5f5f77 100644 (file)
@@ -30,7 +30,7 @@ _syscall3(int, __libc_poll, struct pollfd *, fds,
 
 #elif defined(__NR_ppoll) && defined __UCLIBC_LINUX_SPECIFIC__
 
-libc_hidden_proto(ppoll)
+/* libc_hidden_proto(ppoll) */
 int __libc_poll(struct pollfd *fds, nfds_t nfds, int timeout)
 {
        struct timespec *ts = NULL, tval;
@@ -59,8 +59,8 @@ int __libc_poll(struct pollfd *fds, nfds_t nfds, int timeout)
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(getdtablesize)
-libc_hidden_proto(select)
+/* libc_hidden_proto(getdtablesize) */
+/* libc_hidden_proto(select) */
 
 /* uClinux 2.0 doesn't have poll, emulate it using select */
 
index a203c0c..edcb1dc 100644 (file)
@@ -22,7 +22,7 @@
 
 #if defined __NR_ppoll && defined __UCLIBC_LINUX_SPECIFIC__
 
-libc_hidden_proto(ppoll)
+/* libc_hidden_proto(ppoll) */
 
 # define __NR___libc_ppoll __NR_ppoll
 static __always_inline
index 353cf1a..cb1d838 100644 (file)
@@ -117,7 +117,7 @@ static ssize_t __fake_pread_write(int fd, void *buf,
 }
 
 # ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(lseek64)
+/* libc_hidden_proto(lseek64) */
 
 static ssize_t __fake_pread_write64(int fd, void *buf,
                size_t count, off64_t offset, int do_pwrite)
index 567728f..dce5e87 100644 (file)
@@ -26,7 +26,7 @@
 extern __typeof(pselect) __libc_pselect;
 
 /* libc_hidden_proto(sigprocmask) */
-libc_hidden_proto(select)
+/* libc_hidden_proto(select) */
 
 
 /* Check the first NFDS descriptors each in READFDS (if not NULL) for read
index 716bfcc..36e0f89 100644 (file)
@@ -10,6 +10,6 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(readlink)
+/* libc_hidden_proto(readlink) */
 _syscall3(ssize_t, readlink, const char *, path, char *, buf, size_t, bufsiz)
 libc_hidden_def(readlink)
index 63c5f2e..221c29f 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(rmdir)
+/* libc_hidden_proto(rmdir) */
 
 _syscall1(int, rmdir, const char *, pathname)
 libc_hidden_def(rmdir)
index 6d42285..4fc7a21 100644 (file)
@@ -42,6 +42,6 @@ _syscall5(int, __libc_select, int, n, fd_set *, readfds, fd_set *, writefds,
 
 #endif
 
-libc_hidden_proto(select)
+/* libc_hidden_proto(select) */
 weak_alias(__libc_select,select)
 libc_hidden_weak(select)
index 33c627c..30921a8 100644 (file)
@@ -12,9 +12,9 @@
 #include <sys/syscall.h>
 
 #if (defined __NR_setresgid || defined __NR_setresgid32) && defined __USE_GNU
-libc_hidden_proto(setresgid)
+/* libc_hidden_proto(setresgid) */
 #endif
-libc_hidden_proto(setregid)
+/* libc_hidden_proto(setregid) */
 
 int setegid(gid_t gid)
 {
index 5a6e9a2..6f2c5e9 100644 (file)
 #undef __NR_setresuid32
 #endif
 
-libc_hidden_proto(seteuid)
+/* libc_hidden_proto(seteuid) */
 
 #if (defined __NR_setresuid || defined __NR_setresuid32) && defined __USE_GNU
-libc_hidden_proto(setresuid)
+/* libc_hidden_proto(setresuid) */
 #endif
-libc_hidden_proto(setreuid)
+/* libc_hidden_proto(setreuid) */
 
 int seteuid(uid_t uid)
 {
index 298252d..d7a9494 100644 (file)
@@ -14,7 +14,7 @@
 
 #ifdef __USE_BSD
 
-libc_hidden_proto(setgroups)
+/* libc_hidden_proto(setgroups) */
 
 #if defined(__NR_setgroups32)
 # undef __NR_setgroups
@@ -26,7 +26,7 @@ _syscall2(int, setgroups, size_t, size, const gid_t *, list)
 
 #else
 
-libc_hidden_proto(sysconf)
+/* libc_hidden_proto(sysconf) */
 
 #define __NR___syscall_setgroups __NR_setgroups
 static __inline__ _syscall2(int, __syscall_setgroups,
index f57e6ac..df65808 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/time.h>
 
-libc_hidden_proto(setitimer)
+/* libc_hidden_proto(setitimer) */
 
 _syscall3(int, setitimer, __itimer_which_t, which,
                  const struct itimerval *, new, struct itimerval *, old)
index 1ec5e62..664da1a 100644 (file)
@@ -12,7 +12,7 @@
 #if defined __USE_UNIX98 || defined __USE_SVID
 #include <unistd.h>
 
-libc_hidden_proto(setpgid)
+/* libc_hidden_proto(setpgid) */
 
 #define __NR___syscall_setpgid __NR_setpgid
 static __inline__ _syscall2(int, __syscall_setpgid,
index 38300dc..9f71aa2 100644 (file)
@@ -7,7 +7,7 @@
 #include <syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(setpgid)
+/* libc_hidden_proto(setpgid) */
 
 int setpgrp(void)
 {
index 9774348..3b98c3f 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(setpriority)
+/* libc_hidden_proto(setpriority) */
 
 _syscall3(int, setpriority, __priority_which_t, which, id_t, who, int, prio)
 libc_hidden_def(setpriority)
index b92b844..3325994 100644 (file)
@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <bits/wordsize.h>
 
-libc_hidden_proto(setregid)
+/* libc_hidden_proto(setregid) */
 
 #if (__WORDSIZE == 32 && defined(__NR_setregid32)) || __WORDSIZE == 64
 # ifdef __NR_setregid32
index 6018f19..e99708e 100644 (file)
@@ -15,7 +15,7 @@
 # undef __NR_setresgid
 # define __NR_setresgid __NR_setresgid32
 
-libc_hidden_proto(setresgid)
+/* libc_hidden_proto(setresgid) */
 _syscall3(int, setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid)
 libc_hidden_def(setresgid)
 
@@ -25,7 +25,7 @@ libc_hidden_def(setresgid)
 static __inline__ _syscall3(int, __syscall_setresgid,
                __kernel_gid_t, rgid, __kernel_gid_t, egid, __kernel_gid_t, sgid)
 
-libc_hidden_proto(setresgid)
+/* libc_hidden_proto(setresgid) */
 int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
 {
        if (((rgid + 1) > (gid_t) ((__kernel_gid_t) - 1U))
index ab15be1..c1e395a 100644 (file)
@@ -15,7 +15,7 @@
 # undef __NR_setresuid
 # define __NR_setresuid __NR_setresuid32
 
-libc_hidden_proto(setresuid)
+/* libc_hidden_proto(setresuid) */
 _syscall3(int, setresuid, uid_t, ruid, uid_t, euid, uid_t, suid)
 libc_hidden_def(setresuid)
 
@@ -25,7 +25,7 @@ libc_hidden_def(setresuid)
 static __inline__ _syscall3(int, __syscall_setresuid,
                __kernel_uid_t, rgid, __kernel_uid_t, egid, __kernel_uid_t, sgid)
 
-libc_hidden_proto(setresuid)
+/* libc_hidden_proto(setresuid) */
 int setresuid(uid_t ruid, uid_t euid, uid_t suid)
 {
        if (((ruid + 1) > (uid_t) ((__kernel_uid_t) - 1U))
index bf55843..bb7b6a9 100644 (file)
@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <bits/wordsize.h>
 
-libc_hidden_proto(setreuid)
+/* libc_hidden_proto(setreuid) */
 
 #if (__WORDSIZE == 32 && defined(__NR_setreuid32)) || __WORDSIZE == 64
 # ifdef __NR_setreuid32
index 3811cd7..87f96cb 100644 (file)
@@ -13,7 +13,7 @@
 #include <sys/resource.h>
 #undef setrlimit64
 
-libc_hidden_proto(setrlimit)
+/* libc_hidden_proto(setrlimit) */
 
 /* Only wrap setrlimit if the new usetrlimit is not present and setrlimit sucks */
 
index 90b8eeb..3233ed6 100644 (file)
@@ -26,7 +26,7 @@
 
 #if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 32
 
-libc_hidden_proto(setrlimit)
+/* libc_hidden_proto(setrlimit) */
 
 /* Set the soft and hard limits for RESOURCE to *RLIMITS.
    Only the super-user can increase hard limits.
index 849c02f..d0fc9b0 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(setsid)
+/* libc_hidden_proto(setsid) */
 
 _syscall0(pid_t, setsid)
 libc_hidden_def(setsid)
index c6f2d79..361eb35 100644 (file)
@@ -12,7 +12,7 @@
 
 #ifdef __USE_BSD
 
-libc_hidden_proto(settimeofday)
+/* libc_hidden_proto(settimeofday) */
 
 _syscall2(int, settimeofday, const struct timeval *, tv,
                  const struct timezone *, tz)
index 5e79bc6..d610e8f 100644 (file)
@@ -25,7 +25,7 @@
 #if defined __USE_POSIX199309
 
 /* libc_hidden_proto(getpid) */
-libc_hidden_proto(getuid)
+/* libc_hidden_proto(getuid) */
 /* Experimentally off - libc_hidden_proto(memset) */
 
 #ifdef __NR_rt_sigqueueinfo
index 6161acb..a5ce430 100644 (file)
@@ -32,7 +32,7 @@ int __libc_sigsuspend(const sigset_t * set)
        return __syscall_sigsuspend(0, 0, set->__val[0]);
 }
 #endif
-libc_hidden_proto(sigsuspend)
+/* libc_hidden_proto(sigsuspend) */
 weak_alias(__libc_sigsuspend,sigsuspend)
 libc_hidden_weak(sigsuspend)
 #endif
index f1e0d82..b21d103 100644 (file)
@@ -10,8 +10,6 @@
 #include <sys/syscall.h>
 #include <fcntl.h>
 
-libc_hidden_proto(splice)
-
 #ifdef __NR_splice
 _syscall6(ssize_t, splice, int, __fdin, __off64_t *, __offin, int, __fdout,
        __off64_t *, __offout, size_t, __len, unsigned int, __flags)
@@ -23,6 +21,3 @@ ssize_t splice(int __fdin, __off64_t *__offin, int __fdout,
        return -1;
 }
 #endif
-
-libc_hidden_def(splice)
-
index b939b4e..73d7113 100644 (file)
 #if defined __UCLIBC_HAS_SYSLOG__
 #include <sys/syslog.h>
 
-libc_hidden_proto(openlog)
-libc_hidden_proto(syslog)
-libc_hidden_proto(closelog)
+/* libc_hidden_proto(openlog) */
+/* libc_hidden_proto(syslog) */
+/* libc_hidden_proto(closelog) */
 #endif
 
 /* libc_hidden_proto(sigaction) */
-libc_hidden_proto(sigfillset)
-libc_hidden_proto(sigdelset)
+/* libc_hidden_proto(sigfillset) */
+/* libc_hidden_proto(sigdelset) */
 /* libc_hidden_proto(sigprocmask) */
 /* libc_hidden_proto(write) */
-libc_hidden_proto(kill)
+/* libc_hidden_proto(kill) */
 /* libc_hidden_proto(getpid) */
 /* libc_hidden_proto(_exit) */
 
index c2e02ae..d563bcd 100644 (file)
@@ -40,7 +40,7 @@ libc_hidden_def(stat)
 
 #if ! defined __NR_stat64 && defined __UCLIBC_HAS_LFS__
 extern __typeof(stat) stat64;
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(stat64) */
 strong_alias(stat,stat64)
 libc_hidden_def(stat64)
 #endif
index c9ba2bc..11f836b 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/stat.h>
 
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_stat64
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(stat64) */
 
 # define __NR___syscall_stat64 __NR_stat64
 # include <unistd.h>
index 5f4133a..e892fb3 100644 (file)
@@ -14,6 +14,7 @@
 
 extern __typeof(statfs) __libc_statfs;
 libc_hidden_proto(__libc_statfs)
+
 #define __NR___libc_statfs __NR_statfs
 _syscall2(int, __libc_statfs, const char *, path, struct statfs *, buf)
 
index 2b7ea6f..de060c8 100644 (file)
@@ -15,7 +15,7 @@
 #ifdef __NR_stime
 _syscall1(int, stime, const time_t *, t)
 #else
-libc_hidden_proto(settimeofday)
+/* libc_hidden_proto(settimeofday) */
 
 int stime(const time_t * when)
 {
index a6ea1fa..a0644ef 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/times.h>
 
-libc_hidden_proto(times)
+/* libc_hidden_proto(times) */
 
 _syscall1(clock_t, times, struct tms *, buf)
 libc_hidden_def(times)
index a40ec30..22da552 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(truncate)
+/* libc_hidden_proto(truncate) */
 
 _syscall2(int, truncate, const char *, path, __off_t, length)
 libc_hidden_def(truncate)
index 3ab6165..4098933 100644 (file)
@@ -62,7 +62,7 @@ int truncate64 (const char * path, __off64_t length)
 
 #else  /* __NR_truncate64 */
 
-libc_hidden_proto(truncate)
+/* libc_hidden_proto(truncate) */
 
 int truncate64 (const char * path, __off64_t length)
 {
index c02c191..3c1a0cc 100644 (file)
@@ -19,9 +19,9 @@ _syscall2(long, ulimit, int, cmd, long, arg)
 #include <ulimit.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(sysconf)
-libc_hidden_proto(getrlimit)
-libc_hidden_proto(setrlimit)
+/* libc_hidden_proto(sysconf) */
+/* libc_hidden_proto(getrlimit) */
+/* libc_hidden_proto(setrlimit) */
 
 long int ulimit(int cmd, ...)
 {
index 1b51687..1e29b9f 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/utsname.h>
 
-libc_hidden_proto(uname)
+/* libc_hidden_proto(uname) */
 
 _syscall1(int, uname, struct utsname *, buf)
 libc_hidden_def(uname)
index 9b1f38b..1ad1f2c 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 
-libc_hidden_proto(unlink)
+/* libc_hidden_proto(unlink) */
 
 _syscall1(int, unlink, const char *, pathname)
 libc_hidden_def(unlink)
index 5c4207a..f87afcf 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <utime.h>
 
-libc_hidden_proto(utime)
+/* libc_hidden_proto(utime) */
 
 #ifdef __NR_utime
 _syscall2(int, utime, const char *, file, const struct utimbuf *, times)
@@ -18,7 +18,7 @@ _syscall2(int, utime, const char *, file, const struct utimbuf *, times)
 #include <stdlib.h>
 #include <sys/time.h>
 
-libc_hidden_proto(utimes)
+/* libc_hidden_proto(utimes) */
 /* libc_hidden_proto(gettimeofday) */
 
 int utime(const char *file, const struct utimbuf *times)
index e62faff..191b1af 100644 (file)
 #include <utime.h>
 #include <sys/time.h>
 
-libc_hidden_proto(utimes)
+/* libc_hidden_proto(utimes) */
 
 #ifdef __NR_utimes
 _syscall2(int, utimes, const char *, file, const struct timeval *, tvp)
 #else
 #include <stdlib.h>
 
-libc_hidden_proto(utime)
+/* libc_hidden_proto(utime) */
 
 int utimes(const char *file, const struct timeval tvp[2])
 {
index f9634cd..eda76ae 100644 (file)
 #ifdef __ARCH_USE_MMU__
 
 #ifdef __NR_fork
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
 
 extern __typeof(vfork) __vfork attribute_hidden;
 pid_t __vfork(void)
 {
     return fork();
 }
-libc_hidden_proto(vfork)
+/* libc_hidden_proto(vfork) */
 weak_alias(__vfork,vfork)
 libc_hidden_weak(vfork)
 #endif
index 2d32f20..c5fd6c7 100644 (file)
@@ -10,8 +10,6 @@
 #include <sys/syscall.h>
 #include <fcntl.h>
 
-libc_hidden_proto(vmsplice)
-
 #ifdef __NR_vmsplice
 _syscall4(ssize_t, vmsplice, int, __fdout, const struct iovec *, __iov,
        size_t, __count, unsigned int, __flags)
@@ -23,6 +21,3 @@ ssize_t vmsplice(int __fdout, const struct iovec *__iov, size_t __count,
        return -1;
 }
 #endif
-
-libc_hidden_def(vmsplice)
-
index 39d0e47..e1b4111 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/wait.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(wait4)
+/* libc_hidden_proto(wait4) */
 
 extern __typeof(wait) __libc_wait;
 
index 8a2d43f..11985e3 100644 (file)
@@ -11,7 +11,7 @@
 
 #if defined __USE_BSD
 
-libc_hidden_proto(wait4)
+/* libc_hidden_proto(wait4) */
 
 /* Wait for a child to exit.  When one does, put its status in *STAT_LOC and
  * return its process ID.  For errors return (pid_t) -1.  If USAGE is not nil,
index c62a855..4fd8669 100644 (file)
@@ -12,7 +12,7 @@
 #include <sys/wait.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(wait4)
+/* libc_hidden_proto(wait4) */
 
 #define __NR___syscall_wait4 __NR_wait4
 static __inline__ _syscall4(int, __syscall_wait4, __kernel_pid_t, pid,
index ce3d5dc..6218cdd 100644 (file)
@@ -15,7 +15,7 @@
 _syscall4(int, waitid, idtype_t, idtype, id_t, id, siginfo_t*, infop, int, options)
 # else
 #  include <string.h>
-libc_hidden_proto(waitpid)
+/* libc_hidden_proto(waitpid) */
 int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options)
 {
        switch (idtype) {
index c1766be..d5afd82 100644 (file)
 #include <sys/wait.h>
 #include <sys/resource.h>
 
-libc_hidden_proto(wait4)
+/* libc_hidden_proto(wait4) */
 
 extern __typeof(waitpid) __libc_waitpid;
 __pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options)
 {
        return wait4(pid, wait_stat, options, NULL);
 }
-libc_hidden_proto(waitpid)
+/* libc_hidden_proto(waitpid) */
 weak_alias(__libc_waitpid,waitpid)
 libc_hidden_weak(waitpid)
index 20b5469..e548e80 100644 (file)
@@ -14,6 +14,6 @@ SYSCALL__ (__libc_fork, 0)
           R0&-1==R0, and the child gets R0&0==0.  */
      /* i dunno what the blurb above is useful for. we just return. */
 __asm__("ret\n\tnop");
-libc_hidden_proto(fork)
+/* libc_hidden_proto(fork) */
 weak_alias(__libc_fork,fork)
 libc_hidden_weak(fork)
index 799a112..abcd200 100644 (file)
@@ -10,6 +10,6 @@
 
 #define __NR___vfork __NR_vfork
 attribute_hidden _syscall0(pid_t, __vfork)
-libc_hidden_proto(vfork)
+/* libc_hidden_proto(vfork) */
 weak_alias(__vfork,vfork)
 libc_hidden_weak(vfork)
index 6b356e0..ee03472 100644 (file)
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(fstat64)
+/* libc_hidden_proto(fstat64) */
 _syscall2(int, fstat64, int, fd, struct stat64 *, buf)
 libc_hidden_def(fstat64)
 #endif
index 1184a0a..d4e1393 100644 (file)
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(lstat64)
+/* libc_hidden_proto(lstat64) */
 _syscall2(int, lstat64, const char *, file_name, struct stat64 *, buf)
 libc_hidden_def(lstat64)
 #endif
index daa5ac9..45320ec 100644 (file)
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 
 #ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(stat64)
+/* libc_hidden_proto(stat64) */
 _syscall2(int, stat64, const char *, file_name, struct stat64 *, buf)
 libc_hidden_def(stat64)
 #endif
index fe3a2eb..06f12ee 100644 (file)
@@ -24,8 +24,8 @@
 
 /* libc_hidden_proto(ioctl) */
 
-libc_hidden_proto(tcsetattr)
-libc_hidden_proto(tcgetattr)
+/* libc_hidden_proto(tcsetattr) */
+/* libc_hidden_proto(tcgetattr) */
 
 /* The user-visible size of struct termios has changed.  Catch ioctl calls
    using the new-style struct termios, and translate them to old-style.  */
index 5850e3b..dcdb39b 100644 (file)
@@ -110,7 +110,7 @@ static ssize_t __fake_pread_write(int fd, void *buf,
 }
 
 # ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(lseek64)
+/* libc_hidden_proto(lseek64) */
 
 static ssize_t __fake_pread_write64(int fd, void *buf,
                size_t count, off64_t offset, int do_pwrite)
index 432a5bc..56ae46c 100644 (file)
@@ -12,7 +12,7 @@
 #include <unistd.h>
 #include <syscall.h>
 
-libc_hidden_proto(pipe)
+/* libc_hidden_proto(pipe) */
 
 int pipe(int *fd)
 {
index 802a0df..ec12125 100644 (file)
@@ -32,6 +32,7 @@ __BEGIN_DECLS
    E.g., Linux/Alpha for Alpha PCs supports this.  */
 extern int ioperm (unsigned long int __from, unsigned long int __num,
                    int __turn_on) __THROW;
+libc_hidden_proto(ioperm)
 
 /* Set the I/O privilege level to LEVEL.  If LEVEL>3, permission to
    access any I/O port is granted.  This call requires root
index 0b21999..212a409 100644 (file)
@@ -119,7 +119,7 @@ static ssize_t __fake_pread_write(int fd, void *buf,
 }
 
 # ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(lseek64)
+/* libc_hidden_proto(lseek64) */
 
 static ssize_t __fake_pread_write64(int fd, void *buf,
                size_t count, off64_t offset, int do_pwrite)
index 5d5eb8c..bbafda0 100644 (file)
@@ -22,8 +22,8 @@
 
 #ifdef __USE_BSD
 
-libc_hidden_proto(cfsetispeed)
-libc_hidden_proto(cfsetospeed)
+/* libc_hidden_proto(cfsetispeed) */
+/* libc_hidden_proto(cfsetospeed) */
 
 struct speed_struct
 {
index 7532f33..071bb35 100644 (file)
@@ -19,8 +19,8 @@
 #include <unistd.h>
 #include <termios.h>
 
-libc_hidden_proto(isatty)
-libc_hidden_proto(tcgetattr)
+/* libc_hidden_proto(isatty) */
+/* libc_hidden_proto(tcgetattr) */
 
 /* Return 1 if FD is a terminal, 0 if not.  */
 int isatty (int fd)
index 52647b9..d4eabd9 100644 (file)
@@ -22,8 +22,8 @@
 #include <errno.h>
 #include <termios.h>
 
-libc_hidden_proto(cfsetispeed)
-libc_hidden_proto(cfsetospeed)
+/* libc_hidden_proto(cfsetispeed) */
+/* libc_hidden_proto(cfsetospeed) */
 
 /* This is a gross hack around a kernel bug.  If the cfsetispeed functions
    is called with the SPEED argument set to zero this means use the same
index e431868..47b8858 100644 (file)
@@ -27,7 +27,7 @@
 /* Experimentally off - libc_hidden_proto(memset) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(mempcpy) */
-libc_hidden_proto(tcgetattr)
+/* libc_hidden_proto(tcgetattr) */
 
 /* The difference here is that the termios structure used in the
    kernel is not the same as we use in the libc.  Therefore we must
index ea42b34..677e8b4 100644 (file)
@@ -21,7 +21,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-libc_hidden_proto(tcgetpgrp)
+/* libc_hidden_proto(tcgetpgrp) */
 /* libc_hidden_proto(ioctl) */
 
 /* Return the foreground process group ID of FD.  */
index 711b3bd..b5d7cb6 100644 (file)
@@ -23,8 +23,8 @@
 #include <unistd.h>
 
 /* libc_hidden_proto(ioctl) */
-libc_hidden_proto(getsid)
-libc_hidden_proto(tcgetpgrp)
+/* libc_hidden_proto(getsid) */
+/* libc_hidden_proto(tcgetpgrp) */
 
 /* Return the session ID of FD.  */
 pid_t
index 2aac81a..9f5533e 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 
-libc_hidden_proto(tcsetattr)
+/* libc_hidden_proto(tcsetattr) */
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* libc_hidden_proto(ioctl) */
 
index 8af93e1..ac25c76 100644 (file)
 #include <dirent.h>
 #include <sys/stat.h>
 
-libc_hidden_proto(ttyname_r)
+/* libc_hidden_proto(ttyname_r) */
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(lstat) */
 /* Experimentally off - libc_hidden_proto(strcpy) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(closedir)
-libc_hidden_proto(readdir)
-libc_hidden_proto(isatty)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(readdir) */
+/* libc_hidden_proto(isatty) */
 
 #define TTYNAME_BUFLEN         32
 
index 29fd56c..5bd6f39 100644 (file)
 /* libc_hidden_proto(open) */
 /* libc_hidden_proto(close) */
 /* libc_hidden_proto(_exit) */
-libc_hidden_proto(dup2)
-libc_hidden_proto(setsid)
-libc_hidden_proto(chdir)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(dup2) */
+/* libc_hidden_proto(setsid) */
+/* libc_hidden_proto(chdir) */
+/* libc_hidden_proto(fork) */
 
 int daemon( int nochdir, int noclose )
 {
index 057f7ff..91ba7bb 100644 (file)
 #include <unistd.h>
 #include <sys/mman.h>
 
-libc_hidden_proto(execl)
-libc_hidden_proto(execle)
-libc_hidden_proto(execlp)
-libc_hidden_proto(execv)
-libc_hidden_proto(execvp)
+/* libc_hidden_proto(execl) */
+/* libc_hidden_proto(execle) */
+/* libc_hidden_proto(execlp) */
+/* libc_hidden_proto(execv) */
+/* libc_hidden_proto(execvp) */
 
 /* Experimentally off - libc_hidden_proto(memcpy) */
 /* Experimentally off - libc_hidden_proto(strchr) */
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(execve)
+/* libc_hidden_proto(execve) */
 /* libc_hidden_proto(mmap) */
-libc_hidden_proto(munmap)
+/* libc_hidden_proto(munmap) */
 /* libc_hidden_proto(getenv) */
 
 /**********************************************************************/
index 25d99bd..e97b662 100644 (file)
@@ -20,7 +20,7 @@
  * the user specify whatever they want via the LOGNAME environment
  * variable, or we return NULL if getenv() fails to find anything */
 
-libc_hidden_proto(getlogin)
+/* libc_hidden_proto(getlogin) */
 char * getlogin(void)
 {
        return (getenv("LOGNAME"));
index fc8e321..00c08d1 100644 (file)
@@ -46,7 +46,7 @@ int optind = 1;
 int optopt = 0;
 char *optarg = NULL;
 
-libc_hidden_proto(getopt)
+/* libc_hidden_proto(getopt) */
 int getopt(int argc, char * const argv[], const char *optstring)
 {
        static const char *o;           /* multi opt position */
index 2dae341..2338844 100644 (file)
@@ -8,7 +8,7 @@
 #include <getopt.h>
 #include <stdio.h>
 
-libc_hidden_proto(getopt)
+/* libc_hidden_proto(getopt) */
 
 static int __getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly)
 {
index 5c1e099..ee54429 100644 (file)
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 
 /* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(tcsetattr)
-libc_hidden_proto(tcgetattr)
-libc_hidden_proto(setvbuf)
+/* libc_hidden_proto(tcsetattr) */
+/* libc_hidden_proto(tcgetattr) */
+/* libc_hidden_proto(setvbuf) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(fileno)
-libc_hidden_proto(fflush)
+/* libc_hidden_proto(fileno) */
+/* libc_hidden_proto(fflush) */
 /* libc_hidden_proto(fgets) */
 /* libc_hidden_proto(fputs) */
-libc_hidden_proto(fputc)
-libc_hidden_proto(putc)
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(fputc) */
+/* libc_hidden_proto(putc) */
+/* libc_hidden_proto(__fputc_unlocked) */
 
 /* It is desirable to use this bit on systems that have it.
    The only bit of terminal state we want to twiddle is echoing, which is
index 93d033e..e7152c4 100644 (file)
@@ -23,7 +23,7 @@
 #include <signal.h>
 #include <unistd.h>
 
-libc_hidden_proto(sleep)
+/* libc_hidden_proto(sleep) */
 
 /* libc_hidden_proto(sigaction) */
 /* libc_hidden_proto(sigprocmask) */
index 549c13c..37ccd4d 100644 (file)
 #include <regex.h>
 #endif
 
-libc_hidden_proto(sysconf)
+/* libc_hidden_proto(sysconf) */
 
-libc_hidden_proto(getpagesize)
-libc_hidden_proto(getdtablesize)
+/* libc_hidden_proto(getpagesize) */
+/* libc_hidden_proto(getdtablesize) */
 
 #ifndef __UCLIBC_CLK_TCK_CONST
 #error __UCLIBC_CLK_TCK_CONST not defined!
index 07bea2a..191f996 100644 (file)
@@ -9,7 +9,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-libc_hidden_proto(setitimer)
+/* libc_hidden_proto(setitimer) */
 
 useconds_t ualarm(useconds_t value, useconds_t interval)
 {
index 3021db8..9896bd3 100644 (file)
@@ -45,9 +45,9 @@
 /* libc_hidden_proto(fstat) */
 /* libc_hidden_proto(fopen) */
 /* libc_hidden_proto(fclose) */
-libc_hidden_proto(__fsetlocking)
-libc_hidden_proto(fileno)
-libc_hidden_proto(fgets_unlocked)
+/* libc_hidden_proto(__fsetlocking) */
+/* libc_hidden_proto(fileno) */
+/* libc_hidden_proto(fgets_unlocked) */
 #ifdef __UCLIBC_HAS_XLOCALE__
 /* libc_hidden_proto(__ctype_b_loc) */
 #elif defined __UCLIBC_HAS_CTYPE_TABLES__
index 8a27f90..daeda09 100644 (file)
@@ -22,7 +22,7 @@ int usleep (__useconds_t usec)
     return(nanosleep(&ts, NULL));
 }
 #else /* __UCLIBC_HAS_REALTIME__ */
-libc_hidden_proto(select)
+/* libc_hidden_proto(select) */
 int usleep (__useconds_t usec)
 {
        struct timeval tv;