projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6d3a877
)
Remove support for memset
author
Chris Lattner
<sabre@nondot.org>
Tue, 18 Feb 2003 20:42:15 +0000
(20:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 18 Feb 2003 20:42:15 +0000
(20:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5599
91177308
-0d34-0410-b5e6-
96231b3b80d8
runtime/GCCLibraries/libc/string.c
patch
|
blob
|
history
diff --git
a/runtime/GCCLibraries/libc/string.c
b/runtime/GCCLibraries/libc/string.c
index 5c9625dc637eba473436b1dd05fd5b5e4586165a..a024c3fa87e563d01467dc1b2a6224e309ec0b0f 100644
(file)
--- 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
}
// http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/?cvsroot=glibc
-
+#if 0
typedef unsigned int op_t;
#define OPSIZ 4
typedef unsigned int op_t;
#define OPSIZ 4
@@
-119,6
+119,7
@@
void *memset (void *dstpp, int c, size_t len) {
return dstpp;
}
return dstpp;
}
+#endif
void *memcpy(void *dstpp, const void *srcpp, size_t len) {
char *dstp = (char*)dstpp;
void *memcpy(void *dstpp, const void *srcpp, size_t len) {
char *dstp = (char*)dstpp;