summaryrefslogtreecommitdiffstats
path: root/libstdc++/include
diff options
context:
space:
mode:
authorNicolas Catania <niko@google.com>2009-06-17 14:30:33 -0700
committerNicolas Catania <niko@google.com>2009-06-17 14:54:02 -0700
commitec6c274da2bdaade68a2dda7bb8c6046fe29e23b (patch)
tree3ada462b7e34ec30344846613c04b42e8dc8a791 /libstdc++/include
parent5b67764a5ab31d1ec1e4a36d82b0001f3b5df519 (diff)
downloadbionic-ec6c274da2bdaade68a2dda7bb8c6046fe29e23b.zip
bionic-ec6c274da2bdaade68a2dda7bb8c6046fe29e23b.tar.gz
bionic-ec6c274da2bdaade68a2dda7bb8c6046fe29e23b.tar.bz2
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.
Diffstat (limited to 'libstdc++/include')
-rw-r--r--libstdc++/include/cstring45
1 files changed, 7 insertions, 38 deletions
diff --git a/libstdc++/include/cstring b/libstdc++/include/cstring
index 4ff7a6f..80473cc 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 ::strcat;
using ::strchr;
-using ::strrchr;
-
-using ::strlen;
using ::strcmp;
+using ::strcoll;
using ::strcpy;
-using ::strcat;
-
-using ::strcasecmp;
-using ::strncasecmp;
-using ::strdup;
-
-using ::strstr;
-using ::strcasestr;
-using ::strtok;
-using ::strtok_r;
-
+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__