diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-19 22:57:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-19 22:57:34 +0000 |
commit | 125773133f0fe2425ab3d8305ed880e9010f6803 (patch) | |
tree | ffba60dc39bff34a6dc51760c022c6945f8fd2b3 /libc/misc | |
parent | 498822b67f68710b11d64a5aaf66aa1b865ef86e (diff) |
Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
in string.h and strings.h. This caught unguarded string ops in
libc/inet/ethers.c __ether_line_w() function.
I will wait for fallout reports for a week or so,
then continue converting more libc_hidden_proto's.
Diffstat (limited to 'libc/misc')
35 files changed, 119 insertions, 119 deletions
diff --git a/libc/misc/dirent/alphasort.c b/libc/misc/dirent/alphasort.c index 533366222..70aa2a516 100644 --- a/libc/misc/dirent/alphasort.c +++ b/libc/misc/dirent/alphasort.c @@ -8,7 +8,7 @@ #include <string.h> #include "dirstream.h" -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(strcmp) */ int alphasort(const void * a, const void * b) { diff --git a/libc/misc/dirent/alphasort64.c b/libc/misc/dirent/alphasort64.c index 86a91095d..de7a87a9a 100644 --- a/libc/misc/dirent/alphasort64.c +++ b/libc/misc/dirent/alphasort64.c @@ -10,7 +10,7 @@ #include <string.h> #include "dirstream.h" -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(strcmp) */ int alphasort64(const void * a, const void * b) { diff --git a/libc/misc/dirent/readdir64_r.c b/libc/misc/dirent/readdir64_r.c index 19c14496f..193d9196d 100644 --- a/libc/misc/dirent/readdir64_r.c +++ b/libc/misc/dirent/readdir64_r.c @@ -14,7 +14,7 @@ #include <dirent.h> #include "dirstream.h" -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(readdir64_r) int readdir64_r(DIR *dir, struct dirent64 *entry, struct dirent64 **result) diff --git a/libc/misc/dirent/readdir_r.c b/libc/misc/dirent/readdir_r.c index 9493ecc0d..194af621f 100644 --- a/libc/misc/dirent/readdir_r.c +++ b/libc/misc/dirent/readdir_r.c @@ -11,7 +11,7 @@ #include <dirent.h> #include "dirstream.h" -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(readdir_r) int readdir_r(DIR *dir, struct dirent *entry, struct dirent **result) diff --git a/libc/misc/dirent/scandir.c b/libc/misc/dirent/scandir.c index 41491baee..0e823ad98 100644 --- a/libc/misc/dirent/scandir.c +++ b/libc/misc/dirent/scandir.c @@ -12,7 +12,7 @@ #include <sys/types.h> #include "dirstream.h" -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(readdir) libc_hidden_proto(opendir) libc_hidden_proto(closedir) diff --git a/libc/misc/dirent/scandir64.c b/libc/misc/dirent/scandir64.c index 7b1dbd000..98433f46d 100644 --- a/libc/misc/dirent/scandir64.c +++ b/libc/misc/dirent/scandir64.c @@ -30,7 +30,7 @@ #include <sys/types.h> #include "dirstream.h" -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(opendir) libc_hidden_proto(closedir) libc_hidden_proto(qsort) diff --git a/libc/misc/error/error.c b/libc/misc/error/error.c index 5f0d512e9..ed4a62ef6 100644 --- a/libc/misc/error/error.c +++ b/libc/misc/error/error.c @@ -26,8 +26,8 @@ #include <string.h> #include <error.h> -libc_hidden_proto(strcmp) -libc_hidden_proto(strerror) +/* Experimentally off - libc_hidden_proto(strcmp) */ +/* Experimentally off - libc_hidden_proto(strerror) */ libc_hidden_proto(fprintf) libc_hidden_proto(exit) libc_hidden_proto(putc) diff --git a/libc/misc/file/lockf.c b/libc/misc/file/lockf.c index 6c1184be2..13b56aba4 100644 --- a/libc/misc/file/lockf.c +++ b/libc/misc/file/lockf.c @@ -26,7 +26,7 @@ libc_hidden_proto(lockf) -libc_hidden_proto(memset) +/* Experimentally off - libc_hidden_proto(memset) */ libc_hidden_proto(fcntl) libc_hidden_proto(getpid) diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c index 48983d448..b2ffe5d8c 100644 --- a/libc/misc/file/lockf64.c +++ b/libc/misc/file/lockf64.c @@ -37,7 +37,7 @@ libc_hidden_proto(fcntl64) libc_hidden_proto(fcntl) #endif -libc_hidden_proto(memset) +/* Experimentally off - libc_hidden_proto(memset) */ 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 2d957772f..5e8578671 100644 --- a/libc/misc/fnmatch/fnmatch.c +++ b/libc/misc/fnmatch/fnmatch.c @@ -54,15 +54,15 @@ #ifdef __UCLIBC__ #define __memset memset -libc_hidden_proto(memchr) -libc_hidden_proto(memset) -libc_hidden_proto(mempcpy) -libc_hidden_proto(strcat) -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(memchr) */ +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(mempcpy) */ +/* Experimentally off - libc_hidden_proto(strcat) */ +/* Experimentally off - libc_hidden_proto(strcmp) */ /*libc_hidden_proto(strchr)*/ /*libc_hidden_proto(strchrnul)*/ -libc_hidden_proto(strlen) -libc_hidden_proto(strcoll) +/* Experimentally off - libc_hidden_proto(strlen) */ +/* Experimentally off - libc_hidden_proto(strcoll) */ #ifdef __UCLIBC_HAS_XLOCALE__ libc_hidden_proto(__ctype_b_loc) libc_hidden_proto(__ctype_tolower_loc) diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c index 6521b44e4..33d1a651d 100644 --- a/libc/misc/ftw/ftw.c +++ b/libc/misc/ftw/ftw.c @@ -83,9 +83,9 @@ char *alloca (); # include <sys/stat.h> #endif -libc_hidden_proto(memset) -libc_hidden_proto(strchr) -libc_hidden_proto(strlen) +/* 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) @@ -93,7 +93,7 @@ libc_hidden_proto(tdestroy) libc_hidden_proto(getcwd) libc_hidden_proto(chdir) libc_hidden_proto(fchdir) -libc_hidden_proto(mempcpy) +/* Experimentally off - libc_hidden_proto(mempcpy) */ libc_hidden_proto(opendir) #ifdef __UCLIBC_HAS_LFS__ libc_hidden_proto(readdir64) @@ -101,7 +101,7 @@ libc_hidden_proto(lstat64) libc_hidden_proto(stat64) #endif libc_hidden_proto(closedir) -libc_hidden_proto(stpcpy) +/* Experimentally off - libc_hidden_proto(stpcpy) */ libc_hidden_proto(lstat) libc_hidden_proto(stat) diff --git a/libc/misc/glob/glob-susv3.c b/libc/misc/glob/glob-susv3.c index e5b48cac3..8f441ac68 100644 --- a/libc/misc/glob/glob-susv3.c +++ b/libc/misc/glob/glob-susv3.c @@ -23,12 +23,12 @@ #include <unistd.h> #include <stdio.h> -libc_hidden_proto(memcpy) -libc_hidden_proto(strcat) -libc_hidden_proto(strchr) -libc_hidden_proto(strcmp) -libc_hidden_proto(strcpy) -libc_hidden_proto(strlen) +/* Experimentally off - libc_hidden_proto(memcpy) */ +/* Experimentally off - libc_hidden_proto(strcat) */ +/* Experimentally off - libc_hidden_proto(strchr) */ +/* 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) diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c index 1bbfa3cfe..00c49688f 100644 --- a/libc/misc/glob/glob.c +++ b/libc/misc/glob/glob.c @@ -33,17 +33,17 @@ libc_hidden_proto(closedir) libc_hidden_proto(fnmatch) -libc_hidden_proto(memcpy) -libc_hidden_proto(mempcpy) +/* 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(strchr) -libc_hidden_proto(strcoll) -libc_hidden_proto(strcpy) -libc_hidden_proto(strdup) -libc_hidden_proto(strlen) -libc_hidden_proto(strrchr) +/* Experimentally off - libc_hidden_proto(strchr) */ +/* Experimentally off - libc_hidden_proto(strcoll) */ +/* Experimentally off - libc_hidden_proto(strcpy) */ +/* Experimentally off - libc_hidden_proto(strdup) */ +/* Experimentally off - libc_hidden_proto(strlen) */ +/* Experimentally off - libc_hidden_proto(strrchr) */ #ifdef ENABLE_GLOB_TILDE_EXPANSION diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index c9c16e192..92aeead0e 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -31,10 +31,10 @@ libc_hidden_proto(exit) #ifdef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__ -libc_hidden_proto(strrchr) +/* Experimentally off - libc_hidden_proto(strrchr) */ #endif #ifndef __ARCH_HAS_NO_LDSO__ -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(getgid) libc_hidden_proto(getuid) libc_hidden_proto(getegid) diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c index dc125020b..0883259bd 100644 --- a/libc/misc/internals/tempname.c +++ b/libc/misc/internals/tempname.c @@ -45,8 +45,8 @@ #include <sys/time.h> #include "tempname.h" -libc_hidden_proto(strlen) -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(strlen) */ +/* Experimentally off - libc_hidden_proto(strcmp) */ libc_hidden_proto(sprintf) libc_hidden_proto(mkdir) libc_hidden_proto(open) diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c index 67ca4c248..9825798ed 100644 --- a/libc/misc/locale/locale.c +++ b/libc/misc/locale/locale.c @@ -58,14 +58,14 @@ #include <ctype.h> #include <stdio.h> -libc_hidden_proto(memcpy) -libc_hidden_proto(memset) -libc_hidden_proto(strtok_r) -libc_hidden_proto(strlen) -libc_hidden_proto(strcmp) -libc_hidden_proto(strcpy) -libc_hidden_proto(strncmp) -libc_hidden_proto(strchr) +/* Experimentally off - libc_hidden_proto(memcpy) */ +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(strtok_r) */ +/* Experimentally off - libc_hidden_proto(strlen) */ +/* Experimentally off - libc_hidden_proto(strcmp) */ +/* Experimentally off - libc_hidden_proto(strcpy) */ +/* Experimentally off - libc_hidden_proto(strncmp) */ +/* Experimentally off - libc_hidden_proto(strchr) */ libc_hidden_proto(getenv) #ifdef __UCLIBC_HAS_CTYPE_TABLES__ libc_hidden_proto(__C_ctype_toupper) @@ -193,7 +193,7 @@ static const char utf8[] = "UTF-8"; */ static char hr_locale[(MAX_LOCALE_CATEGORY_STR * LC_ALL) + MAX_LOCALE_STR]; -libc_hidden_proto(stpcpy) +/* Experimentally off - libc_hidden_proto(stpcpy) */ libc_hidden_proto(newlocale) static void update_hr_locale(const unsigned char *spec) @@ -1084,7 +1084,7 @@ libc_hidden_def(__XL_NPP(nl_langinfo)) /**********************************************************************/ #ifdef L_newlocale -libc_hidden_proto(stpcpy) +/* Experimentally off - libc_hidden_proto(stpcpy) */ libc_hidden_proto(newlocale) #ifdef __UCLIBC_MJN3_ONLY__ diff --git a/libc/misc/mntent/mntent.c b/libc/misc/mntent/mntent.c index 35b38bbc2..aaf0b68e6 100644 --- a/libc/misc/mntent/mntent.c +++ b/libc/misc/mntent/mntent.c @@ -17,8 +17,8 @@ libc_hidden_proto(getmntent_r) libc_hidden_proto(setmntent) libc_hidden_proto(endmntent) -libc_hidden_proto(strstr) -libc_hidden_proto(strtok_r) +/* Experimentally off - libc_hidden_proto(strstr) */ +/* Experimentally off - libc_hidden_proto(strtok_r) */ libc_hidden_proto(atoi) libc_hidden_proto(fopen) libc_hidden_proto(fclose) diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index 192034b4e..ee72b74c5 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -78,19 +78,19 @@ libc_hidden_proto(isascii) #endif libc_hidden_proto(toupper) libc_hidden_proto(tolower) -libc_hidden_proto(memcmp) -libc_hidden_proto(memcpy) -libc_hidden_proto(memmove) -libc_hidden_proto(memset) -libc_hidden_proto(strchr) -libc_hidden_proto(strcmp) -libc_hidden_proto(strlen) -libc_hidden_proto(strncpy) +/* Experimentally off - libc_hidden_proto(memcmp) */ +/* Experimentally off - libc_hidden_proto(memcpy) */ +/* Experimentally off - libc_hidden_proto(memmove) */ +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(strchr) */ +/* 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(strcasecmp) +/* Experimentally off - libc_hidden_proto(strcasecmp) */ libc_hidden_proto(abort) #ifdef __USE_GNU -libc_hidden_proto(mempcpy) +/* Experimentally off - libc_hidden_proto(mempcpy) */ #endif #endif diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c index bdede3097..770392858 100644 --- a/libc/misc/regex/regex_old.c +++ b/libc/misc/regex/regex_old.c @@ -38,15 +38,15 @@ #include <malloc.h> #include <stdio.h> -libc_hidden_proto(memset) -libc_hidden_proto(memcmp) -libc_hidden_proto(memcpy) -libc_hidden_proto(strcmp) -libc_hidden_proto(strlen) +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(memcmp) */ +/* 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(abort) #ifdef __USE_GNU -libc_hidden_proto(mempcpy) +/* Experimentally off - libc_hidden_proto(mempcpy) */ #endif libc_hidden_proto(__uc_malloc) diff --git a/libc/misc/search/_hsearch_r.c b/libc/misc/search/_hsearch_r.c index a1cdbb681..257c0610c 100644 --- a/libc/misc/search/_hsearch_r.c +++ b/libc/misc/search/_hsearch_r.c @@ -135,8 +135,8 @@ libc_hidden_def(hdestroy_r) equality of the stored and the parameter value. This helps to prevent unnecessary expensive calls of strcmp. */ -libc_hidden_proto(strcmp) -libc_hidden_proto(strlen) +/* Experimentally off - libc_hidden_proto(strcmp) */ +/* Experimentally off - libc_hidden_proto(strlen) */ libc_hidden_proto(hsearch_r) int hsearch_r (ENTRY item, ACTION action, ENTRY **retval, diff --git a/libc/misc/search/_lsearch.c b/libc/misc/search/_lsearch.c index eefef2121..6c3afcba1 100644 --- a/libc/misc/search/_lsearch.c +++ b/libc/misc/search/_lsearch.c @@ -34,7 +34,7 @@ libc_hidden_def(lfind) #ifdef L_lsearch -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ void *lsearch(const void *key, void *base, size_t *nmemb, size_t size, int (*compar)(const void *, const void *)) diff --git a/libc/misc/statfs/fstatfs64.c b/libc/misc/statfs/fstatfs64.c index dd271e7a3..a7f94b125 100644 --- a/libc/misc/statfs/fstatfs64.c +++ b/libc/misc/statfs/fstatfs64.c @@ -25,7 +25,7 @@ #include <sys/statvfs.h> #include <stddef.h> -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(fstatfs) /* Return information about the filesystem on which FD resides. */ diff --git a/libc/misc/statfs/fstatvfs.c b/libc/misc/statfs/fstatvfs.c index c28132022..bc00cc6b5 100644 --- a/libc/misc/statfs/fstatvfs.c +++ b/libc/misc/statfs/fstatvfs.c @@ -27,9 +27,9 @@ #include <sys/statfs.h> #include <sys/statvfs.h> -libc_hidden_proto(memset) -libc_hidden_proto(strcmp) -libc_hidden_proto(strsep) +/* 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) diff --git a/libc/misc/statfs/fstatvfs64.c b/libc/misc/statfs/fstatvfs64.c index a37642e70..02e7011cf 100644 --- a/libc/misc/statfs/fstatvfs64.c +++ b/libc/misc/statfs/fstatvfs64.c @@ -28,9 +28,9 @@ #include <sys/statfs.h> #include <sys/statvfs.h> -libc_hidden_proto(memset) -libc_hidden_proto(strcmp) -libc_hidden_proto(strsep) +/* 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) diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c index 8574c17af..18ce33be8 100644 --- a/libc/misc/statfs/statfs64.c +++ b/libc/misc/statfs/statfs64.c @@ -24,7 +24,7 @@ #include <sys/statfs.h> -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ libc_hidden_proto(statfs) /* Return information about the filesystem on which FILE resides. */ diff --git a/libc/misc/statfs/statvfs.c b/libc/misc/statfs/statvfs.c index 6c3bf7c56..077a2fb0b 100644 --- a/libc/misc/statfs/statvfs.c +++ b/libc/misc/statfs/statvfs.c @@ -27,9 +27,9 @@ #include <sys/statfs.h> #include <sys/statvfs.h> -libc_hidden_proto(memset) -libc_hidden_proto(strcmp) -libc_hidden_proto(strsep) +/* 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) diff --git a/libc/misc/statfs/statvfs64.c b/libc/misc/statfs/statvfs64.c index 4a71989ec..c91e1fe26 100644 --- a/libc/misc/statfs/statvfs64.c +++ b/libc/misc/statfs/statvfs64.c @@ -28,9 +28,9 @@ #include <sys/statfs.h> #include <sys/statvfs.h> -libc_hidden_proto(memset) -libc_hidden_proto(strcmp) -libc_hidden_proto(strsep) +/* 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) diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c index ce78544b0..c5c1b9e37 100644 --- a/libc/misc/syslog/syslog.c +++ b/libc/misc/syslog/syslog.c @@ -84,12 +84,12 @@ libc_hidden_proto(syslog) libc_hidden_proto(vsyslog) libc_hidden_proto(closelog) -libc_hidden_proto(memset) -libc_hidden_proto(memcpy) -libc_hidden_proto(memmove) -libc_hidden_proto(strchr) -libc_hidden_proto(strlen) -libc_hidden_proto(strncpy) +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(memcpy) */ +/* Experimentally off - libc_hidden_proto(memmove) */ +/* 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) diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c index 6571b14b3..4f15606c4 100644 --- a/libc/misc/time/time.c +++ b/libc/misc/time/time.c @@ -161,12 +161,12 @@ libc_hidden_proto(ctime) libc_hidden_proto(localtime) libc_hidden_proto(localtime_r) -libc_hidden_proto(memset) -libc_hidden_proto(memcpy) -libc_hidden_proto(strcmp) -libc_hidden_proto(strcpy) -libc_hidden_proto(strlen) -libc_hidden_proto(strncpy) +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(memcpy) */ +/* Experimentally off - libc_hidden_proto(strcmp) */ +/* Experimentally off - libc_hidden_proto(strcpy) */ +/* Experimentally off - libc_hidden_proto(strlen) */ +/* Experimentally off - libc_hidden_proto(strncpy) */ /* libc_hidden_proto(sprintf) */ libc_hidden_proto(open) libc_hidden_proto(read) @@ -174,13 +174,13 @@ libc_hidden_proto(close) libc_hidden_proto(getenv) libc_hidden_proto(tzset) libc_hidden_proto(gettimeofday) -libc_hidden_proto(strncasecmp) +/* Experimentally off - libc_hidden_proto(strncasecmp) */ libc_hidden_proto(strtol) libc_hidden_proto(strtoul) libc_hidden_proto(nl_langinfo) #ifdef __UCLIBC_HAS_XLOCALE__ -libc_hidden_proto(strncasecmp_l) +/* Experimentally off - libc_hidden_proto(strncasecmp_l) */ libc_hidden_proto(strtol_l) libc_hidden_proto(strtoul_l) libc_hidden_proto(nl_langinfo_l) @@ -619,7 +619,7 @@ libc_hidden_def(localtime_r) #ifdef __UCLIBC_HAS_TM_EXTENSIONS__ -libc_hidden_proto(strnlen) +/* Experimentally off - libc_hidden_proto(strnlen) */ struct ll_tzname_item; diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c index 38caeb73f..e9858ffb7 100644 --- a/libc/misc/ttyent/getttyent.c +++ b/libc/misc/ttyent/getttyent.c @@ -39,9 +39,9 @@ #include <pthread.h> #endif -libc_hidden_proto(strchr) -libc_hidden_proto(strcmp) -libc_hidden_proto(strncmp) +/* 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) diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c index ac53f1d30..d71aa312f 100644 --- a/libc/misc/utmp/utent.c +++ b/libc/misc/utmp/utent.c @@ -21,9 +21,9 @@ #include <string.h> #include <utmp.h> -libc_hidden_proto(strcmp) -libc_hidden_proto(strdup) -libc_hidden_proto(strncmp) +/* 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) diff --git a/libc/misc/utmp/wtent.c b/libc/misc/utmp/wtent.c index 0378070e7..9430bbb19 100644 --- a/libc/misc/utmp/wtent.c +++ b/libc/misc/utmp/wtent.c @@ -15,8 +15,8 @@ #include <sys/file.h> #if 0 -libc_hidden_proto(memset) -libc_hidden_proto(strncpy) +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(strncpy) */ libc_hidden_proto(updwtmp) #endif libc_hidden_proto(open) diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c index 32ad41ee6..1550fa576 100644 --- a/libc/misc/wchar/wchar.c +++ b/libc/misc/wchar/wchar.c @@ -1268,7 +1268,7 @@ const unsigned char __iconv_codesets[] = "\x07\x01""ASCII"; /* Must be last! (special case to save a nul) */ libc_hidden_data_def(__iconv_codesets) -libc_hidden_proto(strcasecmp) +/* Experimentally off - libc_hidden_proto(strcasecmp) */ static int find_codeset(const char *name) { diff --git a/libc/misc/wctype/_wctype.c b/libc/misc/wctype/_wctype.c index 0f19cad04..a5624ff64 100644 --- a/libc/misc/wctype/_wctype.c +++ b/libc/misc/wctype/_wctype.c @@ -37,7 +37,7 @@ #include <stdint.h> #include <bits/uClibc_uwchar.h> -libc_hidden_proto(strcmp) +/* Experimentally off - libc_hidden_proto(strcmp) */ libc_hidden_proto(tolower) libc_hidden_proto(toupper) libc_hidden_proto(towlower) diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c index 58094dbc7..6872a65ba 100644 --- a/libc/misc/wordexp/wordexp.c +++ b/libc/misc/wordexp/wordexp.c @@ -35,15 +35,15 @@ #include <glob.h> #include <wordexp.h> -libc_hidden_proto(mempcpy) -libc_hidden_proto(stpcpy) -libc_hidden_proto(strchr) -libc_hidden_proto(strcpy) -libc_hidden_proto(strdup) -libc_hidden_proto(strlen) -libc_hidden_proto(strndup) -libc_hidden_proto(strspn) -libc_hidden_proto(strcspn) +/* Experimentally off - libc_hidden_proto(mempcpy) */ +/* Experimentally off - libc_hidden_proto(stpcpy) */ +/* Experimentally off - libc_hidden_proto(strchr) */ +/* Experimentally off - libc_hidden_proto(strcpy) */ +/* Experimentally off - libc_hidden_proto(strdup) */ +/* Experimentally off - libc_hidden_proto(strlen) */ +/* 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) |