summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:07:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:07:43 +0000
commitb133fe1cac9f99b63ea56daf92caa1423b1289d0 (patch)
tree3434fe3fee6b02c3c7006c91366ac7708810a656 /libc/misc
parent2cced20a74b0fd22fd34254e5d92ce06e2cfb60d (diff)
next portion of libc_hidden_proto removal
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/ctype/ctype.c4
-rw-r--r--libc/misc/dirent/opendir.c8
-rw-r--r--libc/misc/dirent/rewinddir.c2
-rw-r--r--libc/misc/dirent/seekdir.c2
-rw-r--r--libc/misc/error/err.c4
-rw-r--r--libc/misc/error/error.c2
-rw-r--r--libc/misc/file/lockf.c4
-rw-r--r--libc/misc/file/lockf64.c4
-rw-r--r--libc/misc/fnmatch/fnmatch.c4
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c2
-rw-r--r--libc/misc/ftw/ftw.c4
-rw-r--r--libc/misc/glob/glob-susv3.c2
-rw-r--r--libc/misc/glob/glob.c2
-rw-r--r--libc/misc/internals/__uClibc_main.c2
-rw-r--r--libc/misc/internals/tempname.c12
-rw-r--r--libc/misc/locale/locale.c2
-rw-r--r--libc/misc/mntent/mntent.c4
-rw-r--r--libc/misc/regex/regex.c6
-rw-r--r--libc/misc/regex/regex_old.c2
-rw-r--r--libc/misc/statfs/fstatvfs.c6
-rw-r--r--libc/misc/statfs/fstatvfs64.c2
-rw-r--r--libc/misc/statfs/statvfs.c2
-rw-r--r--libc/misc/syslog/syslog.c14
-rw-r--r--libc/misc/sysvipc/ftok.c2
-rw-r--r--libc/misc/time/ftime.c2
-rw-r--r--libc/misc/time/time.c8
-rw-r--r--libc/misc/ttyent/getttyent.c2
-rw-r--r--libc/misc/utmp/utent.c10
-rw-r--r--libc/misc/utmp/wtent.c6
-rw-r--r--libc/misc/wctype/_wctype.c4
-rw-r--r--libc/misc/wordexp/wordexp.c10
31 files changed, 70 insertions, 70 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c
index fc779448e..9c863e729 100644
--- a/libc/misc/ctype/ctype.c
+++ b/libc/misc/ctype/ctype.c
@@ -281,7 +281,7 @@ IS_FUNC_BODY(xdigit);
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
#ifdef __UCLIBC_HAS_CTYPE_TABLES__
int tolower(int c)
@@ -328,7 +328,7 @@ weak_alias (tolower_l, __tolower_l)
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_toupper)
#endif
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(toupper) */
#ifdef __UCLIBC_HAS_CTYPE_TABLES__
int toupper(int c)
diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c
index e1be80ed3..4a5a562f8 100644
--- a/libc/misc/dirent/opendir.c
+++ b/libc/misc/dirent/opendir.c
@@ -15,11 +15,11 @@
#include "dirstream.h"
libc_hidden_proto(opendir)
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(stat)
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(stat) */
+/* libc_hidden_proto(fstat) */
/* opendir just makes an open() call - it return NULL if it fails
* (open sets errno), otherwise it returns a DIR * pointer.
diff --git a/libc/misc/dirent/rewinddir.c b/libc/misc/dirent/rewinddir.c
index 1bbda0809..99aa6b263 100644
--- a/libc/misc/dirent/rewinddir.c
+++ b/libc/misc/dirent/rewinddir.c
@@ -9,7 +9,7 @@
#include <unistd.h>
#include "dirstream.h"
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
/* rewinddir() just does an lseek(fd,0,0) - see close for comments */
void rewinddir(DIR * dir)
diff --git a/libc/misc/dirent/seekdir.c b/libc/misc/dirent/seekdir.c
index c41844856..19661509d 100644
--- a/libc/misc/dirent/seekdir.c
+++ b/libc/misc/dirent/seekdir.c
@@ -9,7 +9,7 @@
#include <unistd.h>
#include "dirstream.h"
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
void seekdir(DIR * dir, long int offset)
{
diff --git a/libc/misc/error/err.c b/libc/misc/error/err.c
index 517e08630..566410485 100644
--- a/libc/misc/error/err.c
+++ b/libc/misc/error/err.c
@@ -27,10 +27,10 @@ libc_hidden_proto(verr)
libc_hidden_proto(verrx)
/* libc_hidden_proto(fprintf) */
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
libc_hidden_proto(__xpg_strerror_r)
/* libc_hidden_proto(exit) */
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
static void vwarn_work(const char *format, va_list args, int showerr)
{
diff --git a/libc/misc/error/error.c b/libc/misc/error/error.c
index c0f8f8d0a..3cf8d34f2 100644
--- a/libc/misc/error/error.c
+++ b/libc/misc/error/error.c
@@ -31,7 +31,7 @@
/* libc_hidden_proto(fprintf) */
/* libc_hidden_proto(exit) */
libc_hidden_proto(putc)
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
libc_hidden_proto(fflush)
libc_hidden_proto(fputc)
libc_hidden_proto(__fputc_unlocked)
diff --git a/libc/misc/file/lockf.c b/libc/misc/file/lockf.c
index 13b56aba4..bf14808de 100644
--- a/libc/misc/file/lockf.c
+++ b/libc/misc/file/lockf.c
@@ -27,8 +27,8 @@
libc_hidden_proto(lockf)
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(fcntl)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(fcntl) */
+/* libc_hidden_proto(getpid) */
/* lockf is a simplified interface to fcntl's locking facilities. */
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index b2ffe5d8c..ba3887329 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -34,11 +34,11 @@
#define F_SETLK F_SETLK64
libc_hidden_proto(fcntl64)
#else
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(fcntl) */
#endif
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
/* lockf is a simplified interface to fcntl's locking facilities. */
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 351abaf73..559a3ca2a 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -71,9 +71,9 @@
/* libc_hidden_proto(__ctype_b) */
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
libc_hidden_proto(fnmatch)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#endif
/* For platform which support the ISO C amendement 1 functionality we
diff --git a/libc/misc/fnmatch/fnmatch_old.c b/libc/misc/fnmatch/fnmatch_old.c
index 577e35676..020d97bcf 100644
--- a/libc/misc/fnmatch/fnmatch_old.c
+++ b/libc/misc/fnmatch/fnmatch_old.c
@@ -25,7 +25,7 @@ Cambridge, MA 02139, USA. */
libc_hidden_proto(fnmatch)
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C
Library, but also included in many other GNU distributions. Compiling
diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c
index c136f1e8d..a3a2002da 100644
--- a/libc/misc/ftw/ftw.c
+++ b/libc/misc/ftw/ftw.c
@@ -102,8 +102,8 @@ libc_hidden_proto(stat64)
#endif
libc_hidden_proto(closedir)
/* Experimentally off - libc_hidden_proto(stpcpy) */
-libc_hidden_proto(lstat)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(lstat) */
+/* libc_hidden_proto(stat) */
#if ! _LIBC && !HAVE_DECL_STPCPY && !defined stpcpy
char *stpcpy ();
diff --git a/libc/misc/glob/glob-susv3.c b/libc/misc/glob/glob-susv3.c
index 00963c36e..b1f1a6ad7 100644
--- a/libc/misc/glob/glob-susv3.c
+++ b/libc/misc/glob/glob-susv3.c
@@ -58,7 +58,7 @@ libc_hidden_proto(stat64)
# define struct_stat struct stat64
#else
libc_hidden_proto(readdir_r)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
# define struct_stat struct stat
#endif
diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c
index 6ccbda4d7..abc75dee5 100644
--- a/libc/misc/glob/glob.c
+++ b/libc/misc/glob/glob.c
@@ -74,7 +74,7 @@ libc_hidden_proto(readdir64)
#endif
#define struct_stat64 struct stat
#define __stat64(fname, buf) stat (fname, buf)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#endif
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 9e194983f..af4bfac42 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -38,7 +38,7 @@ libc_hidden_proto(getgid)
libc_hidden_proto(getuid)
libc_hidden_proto(getegid)
libc_hidden_proto(geteuid)
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
/* libc_hidden_proto(abort) */
extern __typeof(open) __libc_open;
diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c
index 5b7b4f7f9..8ce277555 100644
--- a/libc/misc/internals/tempname.c
+++ b/libc/misc/internals/tempname.c
@@ -47,17 +47,17 @@
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(mkdir)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
#ifdef __UCLIBC_HAS_LFS__
libc_hidden_proto(open64)
#endif
-libc_hidden_proto(read)
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(getpid)
-libc_hidden_proto(stat)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(getpid) */
+/* libc_hidden_proto(stat) */
+/* libc_hidden_proto(gettimeofday) */
/* Return nonzero if DIR is an existent directory. */
static int direxists (const char *dir)
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c
index d8c539728..c1f91bcee 100644
--- a/libc/misc/locale/locale.c
+++ b/libc/misc/locale/locale.c
@@ -66,7 +66,7 @@
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strncmp) */
/* Experimentally off - libc_hidden_proto(strchr) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#ifdef __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__C_ctype_toupper) */
#endif
diff --git a/libc/misc/mntent/mntent.c b/libc/misc/mntent/mntent.c
index a81a877bf..9730b5237 100644
--- a/libc/misc/mntent/mntent.c
+++ b/libc/misc/mntent/mntent.c
@@ -19,10 +19,10 @@ libc_hidden_proto(endmntent)
/* Experimentally off - libc_hidden_proto(strstr) */
/* Experimentally off - libc_hidden_proto(strtok_r) */
libc_hidden_proto(atoi)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(fseek)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(abort) */
/* libc_hidden_proto(fprintf) */
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 80c95bba1..2dc196782 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -75,8 +75,8 @@ libc_hidden_proto(__ctype_toupper)
#else
libc_hidden_proto(isascii)
#endif
-libc_hidden_proto(toupper)
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(toupper) */
+/* libc_hidden_proto(tolower) */
/* Experimentally off - libc_hidden_proto(memcmp) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(memmove) */
@@ -85,7 +85,7 @@ libc_hidden_proto(tolower)
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* Experimentally off - libc_hidden_proto(strcasecmp) */
/* libc_hidden_proto(abort) */
#ifdef __USE_GNU
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index 3aecf243f..e8201e90a 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -43,7 +43,7 @@
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(printf)
+/* libc_hidden_proto(printf) */
/* libc_hidden_proto(abort) */
#ifdef __USE_GNU
/* Experimentally off - libc_hidden_proto(mempcpy) */
diff --git a/libc/misc/statfs/fstatvfs.c b/libc/misc/statfs/fstatvfs.c
index 7956e014b..9f2d1ed61 100644
--- a/libc/misc/statfs/fstatvfs.c
+++ b/libc/misc/statfs/fstatvfs.c
@@ -33,7 +33,7 @@
libc_hidden_proto(setmntent)
libc_hidden_proto(getmntent_r)
libc_hidden_proto(endmntent)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
@@ -49,8 +49,8 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
extern __typeof(fstatfs) __libc_fstatfs;
libc_hidden_proto(__libc_fstatfs)
-libc_hidden_proto(fstat)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(stat) */
libc_hidden_proto(fstatvfs)
int fstatvfs (int fd, struct statvfs *buf)
diff --git a/libc/misc/statfs/fstatvfs64.c b/libc/misc/statfs/fstatvfs64.c
index 638a211a7..906eed327 100644
--- a/libc/misc/statfs/fstatvfs64.c
+++ b/libc/misc/statfs/fstatvfs64.c
@@ -44,7 +44,7 @@ libc_hidden_proto(fstatvfs)
libc_hidden_proto(fstatfs64)
#endif
libc_hidden_proto(fstat64)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
int fstatvfs64 (int fd, struct statvfs64 *buf)
{
diff --git a/libc/misc/statfs/statvfs.c b/libc/misc/statfs/statvfs.c
index 5085a2a9e..795f19e79 100644
--- a/libc/misc/statfs/statvfs.c
+++ b/libc/misc/statfs/statvfs.c
@@ -36,7 +36,7 @@ libc_hidden_proto(endmntent)
extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
libc_hidden_proto(statvfs)
int statvfs (const char *file, struct statvfs *buf)
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index f98a25719..508cd7192 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -90,17 +90,17 @@ libc_hidden_proto(closelog)
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(write)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(ctime)
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
libc_hidden_proto(sigemptyset)
libc_hidden_proto(connect)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(vsnprintf)
/* Experimentally off - libc_hidden_proto(time) */
diff --git a/libc/misc/sysvipc/ftok.c b/libc/misc/sysvipc/ftok.c
index 12627cad1..200d5cf90 100644
--- a/libc/misc/sysvipc/ftok.c
+++ b/libc/misc/sysvipc/ftok.c
@@ -20,7 +20,7 @@
#include <sys/ipc.h>
#include <sys/stat.h>
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
key_t ftok (const char *pathname, int proj_id)
{
diff --git a/libc/misc/time/ftime.c b/libc/misc/time/ftime.c
index 49c137ce5..867f4fd2f 100644
--- a/libc/misc/time/ftime.c
+++ b/libc/misc/time/ftime.c
@@ -19,7 +19,7 @@
#include <sys/timeb.h>
#include <sys/time.h>
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
int ftime(struct timeb *timebuf)
{
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index 13d62ad1b..ce58c8fe9 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -167,12 +167,12 @@ libc_hidden_proto(localtime_r)
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
/* libc_hidden_proto(sprintf) */
-libc_hidden_proto(open)
-libc_hidden_proto(read)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
libc_hidden_proto(tzset)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
/* Experimentally off - libc_hidden_proto(strncasecmp) */
libc_hidden_proto(strtol)
libc_hidden_proto(strtoul)
diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c
index 059835d2e..88bc2be70 100644
--- a/libc/misc/ttyent/getttyent.c
+++ b/libc/misc/ttyent/getttyent.c
@@ -46,7 +46,7 @@ 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(fopen) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
#ifdef __UCLIBC_HAS_XLOCALE__
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
index c3f4e1314..627839715 100644
--- a/libc/misc/utmp/utent.c
+++ b/libc/misc/utmp/utent.c
@@ -23,12 +23,12 @@
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strdup) */
/* Experimentally off - libc_hidden_proto(strncmp) */
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);
diff --git a/libc/misc/utmp/wtent.c b/libc/misc/utmp/wtent.c
index a5df5a609..12ffc1a86 100644
--- a/libc/misc/utmp/wtent.c
+++ b/libc/misc/utmp/wtent.c
@@ -19,11 +19,11 @@
/* Experimentally off - libc_hidden_proto(strncpy) */
libc_hidden_proto(updwtmp)
#endif
-libc_hidden_proto(open)
-libc_hidden_proto(write)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(write) */
/* libc_hidden_proto(close) */
libc_hidden_proto(lockf)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
#if 0
/* This is enabled in uClibc/libutil/logwtmp.c */
diff --git a/libc/misc/wctype/_wctype.c b/libc/misc/wctype/_wctype.c
index 5dd9a0764..4437d9181 100644
--- a/libc/misc/wctype/_wctype.c
+++ b/libc/misc/wctype/_wctype.c
@@ -38,8 +38,8 @@
#include <bits/uClibc_uwchar.h>
/* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(tolower)
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(tolower) */
+/* libc_hidden_proto(toupper) */
libc_hidden_proto(towlower)
libc_hidden_proto(towupper)
libc_hidden_proto(towctrans)
diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c
index 05a2f0b46..4fb1aaa48 100644
--- a/libc/misc/wordexp/wordexp.c
+++ b/libc/misc/wordexp/wordexp.c
@@ -57,12 +57,12 @@ libc_hidden_proto(atoi)
libc_hidden_proto(fnmatch)
libc_hidden_proto(pipe)
libc_hidden_proto(fork)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(read)
-libc_hidden_proto(getenv)
-libc_hidden_proto(getpid)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(getenv) */
+/* libc_hidden_proto(getpid) */
+/* libc_hidden_proto(sprintf) */
/* libc_hidden_proto(fprintf) */
/* libc_hidden_proto(abort) */
libc_hidden_proto(glob)