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.
This commit is contained in:
parent
5b67764a5a
commit
ec6c274da2
@ -39,59 +39,28 @@
|
|||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
using ::memccpy;
|
|
||||||
using ::memchr;
|
using ::memchr;
|
||||||
using ::memrchr;
|
|
||||||
using ::memcmp;
|
using ::memcmp;
|
||||||
using ::memcpy;
|
using ::memcpy;
|
||||||
using ::memmove;
|
using ::memmove;
|
||||||
using ::memset;
|
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 ::strcat;
|
||||||
|
using ::strchr;
|
||||||
using ::strcasecmp;
|
using ::strcmp;
|
||||||
using ::strncasecmp;
|
using ::strcoll;
|
||||||
using ::strdup;
|
using ::strcpy;
|
||||||
|
using ::strcspn;
|
||||||
using ::strstr;
|
|
||||||
using ::strcasestr;
|
|
||||||
using ::strtok;
|
|
||||||
using ::strtok_r;
|
|
||||||
|
|
||||||
using ::strerror;
|
using ::strerror;
|
||||||
using ::strerror_r;
|
using ::strlen;
|
||||||
|
|
||||||
using ::strnlen;
|
|
||||||
using ::strncat;
|
using ::strncat;
|
||||||
using ::strndup;
|
|
||||||
using ::strncmp;
|
using ::strncmp;
|
||||||
using ::strncpy;
|
using ::strncpy;
|
||||||
|
|
||||||
// In string.h but not part of the std
|
|
||||||
// using ::strlcat;
|
|
||||||
// using ::strlcpy;
|
|
||||||
|
|
||||||
using ::strcspn;
|
|
||||||
using ::strpbrk;
|
using ::strpbrk;
|
||||||
using ::strsep;
|
using ::strrchr;
|
||||||
using ::strspn;
|
using ::strspn;
|
||||||
|
using ::strstr;
|
||||||
using ::strsignal;
|
using ::strtok;
|
||||||
|
|
||||||
using ::strcoll;
|
|
||||||
using ::strxfrm;
|
using ::strxfrm;
|
||||||
|
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
#endif // BIONIC_LIBSTDCPP_INCLUDE_CSTRING__
|
#endif // BIONIC_LIBSTDCPP_INCLUDE_CSTRING__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user