summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-06-02 22:26:29 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-06-02 22:26:29 +0000
commit3ca2099fdf35351e77d9d3be1068d0d7ca8e62a1 (patch)
tree838ac1d7fbe3dc5153d6fe5cc036536e58b1d9af /libcxx
parentef96861df9a93c5554e4fb8478b7d9449d57c24f (diff)
downloadbcm5719-llvm-3ca2099fdf35351e77d9d3be1068d0d7ca8e62a1.tar.gz
bcm5719-llvm-3ca2099fdf35351e77d9d3be1068d0d7ca8e62a1.zip
Revert changes inadvertantly committed
llvm-svn: 238880
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/cstring27
1 files changed, 4 insertions, 23 deletions
diff --git a/libcxx/include/cstring b/libcxx/include/cstring
index d3659b36179..21c9155cd4d 100644
--- a/libcxx/include/cstring
+++ b/libcxx/include/cstring
@@ -67,34 +67,15 @@ size_t strlen(const char* s);
_LIBCPP_BEGIN_NAMESPACE_STD
using ::size_t;
-
-// using ::memcpy;
-inline _LIBCPP_INLINE_VISIBILITY
-void* memcpy(void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memcpy(__s1, __s2, __n); }
-
-// using ::memmove;
-inline _LIBCPP_INLINE_VISIBILITY
-void* memmove(void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memmove(__s1, __s2, __n); }
-
+using ::memcpy;
+using ::memmove;
using ::strcpy;
using ::strncpy;
using ::strcat;
using ::strncat;
-
-// using ::memcmp;
-inline _LIBCPP_INLINE_VISIBILITY
-int memcmp(const void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memcmp(__s1, __s2, __n); }
-
+using ::memcmp;
using ::strcmp;
-
-// using ::strncmp;
-inline _LIBCPP_INLINE_VISIBILITY
-int strncmp(const char* __s1, const char* __s2, size_t __n) __attribute__((nonnull(1, 2)))
-{ return ::memcmp(__s1, __s2, __n); }
-
+using ::strncmp;
using ::strcoll;
using ::strxfrm;
OpenPOWER on IntegriCloud