diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 9 | ||||
-rw-r--r-- | include/strings.h | 18 |
2 files changed, 3 insertions, 24 deletions
diff --git a/include/string.h b/include/string.h index cd57de1a5..5c631de52 100644 --- a/include/string.h +++ b/include/string.h @@ -503,13 +503,8 @@ libc_hidden_proto(strerror) libc_hidden_proto(__bzero) #endif #ifdef __USE_BSD -# 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 +/* No libc_hidden_proto for bcopy etc., since uClibc doesn't itself use the + legacy functions. */ libc_hidden_proto(ffs) #if 0 /*def __USE_GNU*/ libc_hidden_proto(ffsl) diff --git a/include/strings.h b/include/strings.h index 89349f94d..550f4ab9c 100644 --- a/include/strings.h +++ b/include/strings.h @@ -92,23 +92,7 @@ __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) +#error "<strings.h> should not be included from libc." #endif |