summaryrefslogtreecommitdiff
path: root/libc/string/memmove.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/memmove.c
parent00d805f334c009164d7cecab931086a0545af8d1 (diff)
drop __BCC__ cruft from string code
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/string/memmove.c')
-rw-r--r--libc/string/memmove.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libc/string/memmove.c b/libc/string/memmove.c
index 8dcc6e49b..9fb0efee4 100644
--- a/libc/string/memmove.c
+++ b/libc/string/memmove.c
@@ -15,24 +15,6 @@
Wvoid *Wmemmove(Wvoid *s1, const Wvoid *s2, size_t n)
{
-#ifdef __BCC__
- register Wchar *s = (Wchar *) s1;
- register const Wchar *p = (const Wchar *) s2;
-
- if (p >= s) {
- while (n--) {
- *s++ = *p++;
- }
- } else {
- s += n;
- p += n;
- while (n--) {
- *--s = *--p;
- }
- }
-
- return s1;
-#else
register Wchar *s = (Wchar *) s1;
register const Wchar *p = (const Wchar *) s2;
@@ -49,7 +31,6 @@ Wvoid *Wmemmove(Wvoid *s1, const Wvoid *s2, size_t n)
}
return s1;
-#endif
}
#ifndef WANT_WIDE