summaryrefslogtreecommitdiff
path: root/runtime/GCCLibraries
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-18 20:42:15 +0000
committerChris Lattner <sabre@nondot.org>2003-02-18 20:42:15 +0000
commit8fc625836e42c721bf3279399ccbfdd9d6eb7c65 (patch)
tree61514c12af7c9a0bc40f81c0822c402a09c086d3 /runtime/GCCLibraries
parent6d3a877743ece2d68ba9d1745d802d6ff54e505f (diff)
downloadllvm-8fc625836e42c721bf3279399ccbfdd9d6eb7c65.tar.gz
llvm-8fc625836e42c721bf3279399ccbfdd9d6eb7c65.tar.bz2
llvm-8fc625836e42c721bf3279399ccbfdd9d6eb7c65.tar.xz
Remove support for memset
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/GCCLibraries')
-rw-r--r--runtime/GCCLibraries/libc/string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/GCCLibraries/libc/string.c b/runtime/GCCLibraries/libc/string.c
index 5c9625dc63..a024c3fa87 100644
--- a/runtime/GCCLibraries/libc/string.c
+++ b/runtime/GCCLibraries/libc/string.c
@@ -53,7 +53,7 @@ int strcmp (const char *p1, const char *p2) {
}
// http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/?cvsroot=glibc
-
+#if 0
typedef unsigned int op_t;
#define OPSIZ 4
@@ -119,6 +119,7 @@ void *memset (void *dstpp, int c, size_t len) {
return dstpp;
}
+#endif
void *memcpy(void *dstpp, const void *srcpp, size_t len) {
char *dstp = (char*)dstpp;