diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-10 12:44:02 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-10-10 12:44:02 -0400 |
commit | 96a4928454fb7a8361a0b33940006ff491506f4d (patch) | |
tree | f1a8bf7507cc686c2839dd569325cf157a3234f1 /libc/string/memcpy.c | |
parent | 00d805f334c009164d7cecab931086a0545af8d1 (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.c | 6 |
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; } |