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/cris | |
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/cris')
-rw-r--r-- | libc/string/cris/memcpy.c | 2 | ||||
-rw-r--r-- | libc/string/cris/memmove.c | 2 | ||||
-rw-r--r-- | libc/string/cris/memset.c | 2 | ||||
-rw-r--r-- | libc/string/cris/strcpy.c | 2 | ||||
-rw-r--r-- | libc/string/cris/strncpy.c | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/libc/string/cris/memcpy.c b/libc/string/cris/memcpy.c index a00688ab0..0cce37a30 100644 --- a/libc/string/cris/memcpy.c +++ b/libc/string/cris/memcpy.c @@ -66,7 +66,7 @@ void *memcpy(void *, const void *, unsigned int); -libc_hidden_proto(memcpy) +/* Experimentally off - libc_hidden_proto(memcpy) */ void *memcpy(void *pdst, const void *psrc, unsigned int pn) diff --git a/libc/string/cris/memmove.c b/libc/string/cris/memmove.c index 437637078..b6620afe0 100644 --- a/libc/string/cris/memmove.c +++ b/libc/string/cris/memmove.c @@ -27,7 +27,7 @@ #include "memcopy.h" #include "../generic/pagecopy.h" -libc_hidden_proto(memmove) +/* Experimentally off - libc_hidden_proto(memmove) */ void *memmove (void *dest, const void *src, size_t len) { unsigned long int dstp = (long int) dest; diff --git a/libc/string/cris/memset.c b/libc/string/cris/memset.c index 2d1602c5d..9cc959a33 100644 --- a/libc/string/cris/memset.c +++ b/libc/string/cris/memset.c @@ -59,7 +59,7 @@ void *memset(void *, int, unsigned long); -libc_hidden_proto(memset) +/* Experimentally off - libc_hidden_proto(memset) */ void *memset(void *pdst, int c, unsigned long plen) diff --git a/libc/string/cris/strcpy.c b/libc/string/cris/strcpy.c index 0af25253e..955a990b7 100644 --- a/libc/string/cris/strcpy.c +++ b/libc/string/cris/strcpy.c @@ -6,7 +6,7 @@ #include <string.h> -libc_hidden_proto(strcpy) +/* Experimentally off - libc_hidden_proto(strcpy) */ char *strcpy(char *dest, const char *src) { char *ret = dest; diff --git a/libc/string/cris/strncpy.c b/libc/string/cris/strncpy.c index 93a6608bc..3f2775bdd 100644 --- a/libc/string/cris/strncpy.c +++ b/libc/string/cris/strncpy.c @@ -6,9 +6,9 @@ #include <string.h> -libc_hidden_proto(memset) +/* Experimentally off - libc_hidden_proto(memset) */ -libc_hidden_proto(strncpy) +/* Experimentally off - libc_hidden_proto(strncpy) */ char *strncpy(char *dest, const char *src, size_t count) { char *ret = dest; |