summaryrefslogtreecommitdiff
path: root/libc/string/memcpy.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-10 12:44:02 -0400
committerMike Frysinger <vapier@gentoo.org>2009-10-10 12:44:02 -0400
commit96a4928454fb7a8361a0b33940006ff491506f4d (patch)
treef1a8bf7507cc686c2839dd569325cf157a3234f1 /libc/string/memcpy.c
parent00d805f334c009164d7cecab931086a0545af8d1 (diff)
drop __BCC__ cruft from string code
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/string/memcpy.c')
-rw-r--r--libc/string/memcpy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/string/memcpy.c b/libc/string/memcpy.c
index cbb6e633a..42436e0b6 100644
--- a/libc/string/memcpy.c
+++ b/libc/string/memcpy.c
@@ -19,16 +19,10 @@ Wvoid *Wmemcpy(Wvoid * __restrict s1, const Wvoid * __restrict s2, size_t n)
register Wchar *r1 = s1;
register const Wchar *r2 = s2;
-#ifdef __BCC__
- while (n--) {
- *r1++ = *r2++;
- }
-#else
while (n) {
*r1++ = *r2++;
--n;
}
-#endif
return s1;
}