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/string/strdup.c | |
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/string/strdup.c')
-rw-r--r-- | libc/string/strdup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/strdup.c b/libc/string/strdup.c index fff74444c..61fc186c8 100644 --- a/libc/string/strdup.c +++ b/libc/string/strdup.c @@ -13,12 +13,12 @@ libc_hidden_proto(wcslen) # define Wstrdup wcsdup # define Wstrlen wcslen #else -libc_hidden_proto(strdup) -libc_hidden_proto(strlen) +/* Experimentally off - libc_hidden_proto(strdup) */ +/* Experimentally off - libc_hidden_proto(strlen) */ # define Wstrdup strdup # define Wstrlen strlen #endif -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ Wchar *Wstrdup(register const Wchar *s1) { |