summaryrefslogtreecommitdiff
path: root/include/strings.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-19 22:57:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-19 22:57:34 +0000
commit125773133f0fe2425ab3d8305ed880e9010f6803 (patch)
treeffba60dc39bff34a6dc51760c022c6945f8fd2b3 /include/strings.h
parent498822b67f68710b11d64a5aaf66aa1b865ef86e (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 'include/strings.h')
-rw-r--r--include/strings.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/strings.h b/include/strings.h
index 107c53a4f..89349f94d 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -90,6 +90,28 @@ extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
__END_DECLS
+
+#ifdef UCLIBC_INTERNAL
+/* In the same order and with the same defines */
+# ifdef __UCLIBC_SUSV3_LEGACY__
+libc_hidden_proto(bcopy)
+libc_hidden_proto(bzero)
+libc_hidden_proto(bcmp)
+libc_hidden_proto(index)
+libc_hidden_proto(rindex)
+# endif
+libc_hidden_proto(ffs)
+# if 0 /*def __USE_GNU*/
+libc_hidden_proto(ffsl)
+# ifdef __GNUC__
+libc_hidden_proto(ffsll)
+# endif
+# endif
+libc_hidden_proto(strcasecmp)
+libc_hidden_proto(strncasecmp)
+#endif
+
+
#endif /* string.h */
#endif /* strings.h */