summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cstring
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-08-10 21:57:23 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-08-10 21:57:23 +0000
commit2bcfef5e9c2d1220f86a8640b8f429800e6cc551 (patch)
treee3bd9ddc0f873b57ad7532251f44975c13d74ccc /libcxx/include/cstring
parent0b6dce4ea4aa5b5553112cd3f3278315f27309c9 (diff)
downloadbcm5719-llvm-2bcfef5e9c2d1220f86a8640b8f429800e6cc551.tar.gz
bcm5719-llvm-2bcfef5e9c2d1220f86a8640b8f429800e6cc551.zip
Fix conflict with cstring and using namespace std
llvm-svn: 110736
Diffstat (limited to 'libcxx/include/cstring')
-rw-r--r--libcxx/include/cstring10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/cstring b/libcxx/include/cstring
index 065a4bce45a..b2305a3c32b 100644
--- a/libcxx/include/cstring
+++ b/libcxx/include/cstring
@@ -77,23 +77,23 @@ using ::strncmp;
using ::strcoll;
using ::strxfrm;
-inline _LIBCPP_INLINE_VISIBILITY const void* memchr(const void* __s, int __c, size_t __n) {return ::memchr(__s, __c, __n);}
+using ::memchr;
inline _LIBCPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, size_t __n) {return ::memchr(__s, __c, __n);}
-inline _LIBCPP_INLINE_VISIBILITY const char* strchr(const char* __s, int __c) {return ::strchr(__s, __c);}
+using ::strchr;
inline _LIBCPP_INLINE_VISIBILITY char* strchr( char* __s, int __c) {return ::strchr(__s, __c);}
using ::strcspn;
-inline _LIBCPP_INLINE_VISIBILITY const char* strpbrk(const char* __s1, const char* __s2) {return ::strpbrk(__s1, __s2);}
+using ::strpbrk;
inline _LIBCPP_INLINE_VISIBILITY char* strpbrk( char* __s1, const char* __s2) {return ::strpbrk(__s1, __s2);}
-inline _LIBCPP_INLINE_VISIBILITY const char* strrchr(const char* __s, int __c) {return ::strrchr(__s, __c);}
+using ::strrchr;
inline _LIBCPP_INLINE_VISIBILITY char* strrchr( char* __s, int __c) {return ::strrchr(__s, __c);}
using ::strspn;
-inline _LIBCPP_INLINE_VISIBILITY const char* strstr(const char* __s1, const char* __s2) {return ::strstr(__s1, __s2);}
+using ::strstr;
inline _LIBCPP_INLINE_VISIBILITY char* strstr( char* __s1, const char* __s2) {return ::strstr(__s1, __s2);}
using ::strtok;
OpenPOWER on IntegriCloud