From ec6c274da2bdaade68a2dda7bb8c6046fe29e23b Mon Sep 17 00:00:00 2001 From: Nicolas Catania Date: Wed, 17 Jun 2009 14:30:33 -0700 Subject: [PATCH] Removed non-standard declaration in cstring. Aligned the list of the function declared in std:: to match gcc. In the first cut, too many functions were included. The test under system/extras/tests/bionic/libstdc++ already has the correct (shorter) list. --- libstdc++/include/cstring | 49 +++++++-------------------------------- 1 file changed, 9 insertions(+), 40 deletions(-) diff --git a/libstdc++/include/cstring b/libstdc++/include/cstring index 4ff7a6f10..80473ccdb 100644 --- a/libstdc++/include/cstring +++ b/libstdc++/include/cstring @@ -39,59 +39,28 @@ namespace std { -using ::memccpy; using ::memchr; -using ::memrchr; using ::memcmp; using ::memcpy; using ::memmove; using ::memset; -using ::memmem; -// In string.h but not part of the std -// using ::memswap; - -using ::index; -using ::rindex; -using ::strchr; -using ::strrchr; - -using ::strlen; -using ::strcmp; -using ::strcpy; using ::strcat; - -using ::strcasecmp; -using ::strncasecmp; -using ::strdup; - -using ::strstr; -using ::strcasestr; -using ::strtok; -using ::strtok_r; - +using ::strchr; +using ::strcmp; +using ::strcoll; +using ::strcpy; +using ::strcspn; using ::strerror; -using ::strerror_r; - -using ::strnlen; +using ::strlen; using ::strncat; -using ::strndup; using ::strncmp; using ::strncpy; - -// In string.h but not part of the std -// using ::strlcat; -// using ::strlcpy; - -using ::strcspn; using ::strpbrk; -using ::strsep; +using ::strrchr; using ::strspn; - -using ::strsignal; - -using ::strcoll; +using ::strstr; +using ::strtok; using ::strxfrm; - } // namespace std #endif // BIONIC_LIBSTDCPP_INCLUDE_CSTRING__