summaryrefslogtreecommitdiff
path: root/libc/string/mempcpy.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/mempcpy.c
parent00d805f334c009164d7cecab931086a0545af8d1 (diff)
drop __BCC__ cruft from string code
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/string/mempcpy.c')
-rw-r--r--libc/string/mempcpy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/string/mempcpy.c b/libc/string/mempcpy.c
index d79bd1937..d1d752b50 100644
--- a/libc/string/mempcpy.c
+++ b/libc/string/mempcpy.c
@@ -21,16 +21,10 @@ Wvoid *Wmempcpy(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 r1;
}