summaryrefslogtreecommitdiffstats
path: root/llvm/runtime
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
commite5325ff767a82a09bf37c7ac920db6151281c4ee (patch)
tree308d3374be23e3eb49789705a42614695c63c52f /llvm/runtime
parenteccbaee3c3a116b41345eb2c01a93cc41c6b7a26 (diff)
downloadbcm5719-llvm-e5325ff767a82a09bf37c7ac920db6151281c4ee.tar.gz
bcm5719-llvm-e5325ff767a82a09bf37c7ac920db6151281c4ee.zip
Remove support for memset
llvm-svn: 5599
Diffstat (limited to 'llvm/runtime')
-rw-r--r--llvm/runtime/GCCLibraries/libc/string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/runtime/GCCLibraries/libc/string.c b/llvm/runtime/GCCLibraries/libc/string.c
index 5c9625dc637..a024c3fa87e 100644
--- a/llvm/runtime/GCCLibraries/libc/string.c
+++ b/llvm/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;
OpenPOWER on IntegriCloud