summaryrefslogtreecommitdiffstats
path: root/libc/string/bcopy.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-10 12:44:02 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-10-16 11:43:44 -0700
commit58e2aa59747bb7a0f1f600c876f25413c29fedb3 (patch)
tree291abd71b2d54e89da9f72d6cfada24db36a4cad /libc/string/bcopy.c
parent0a013fe8f69546b99d73876852cf284dd0dde474 (diff)
downloaduClibc-alpine-58e2aa59747bb7a0f1f600c876f25413c29fedb3.tar.bz2
uClibc-alpine-58e2aa59747bb7a0f1f600c876f25413c29fedb3.tar.xz
drop __BCC__ cruft from string code
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/string/bcopy.c')
-rw-r--r--libc/string/bcopy.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libc/string/bcopy.c b/libc/string/bcopy.c
index 4b718f98d..6234fd807 100644
--- a/libc/string/bcopy.c
+++ b/libc/string/bcopy.c
@@ -15,24 +15,6 @@ void bcopy(const void *s2, void *s1, size_t n)
#if 1
memmove(s1, s2, n);
#else
-#ifdef __BCC__
- register char *s;
- register const char *p;
-
- s = s1;
- p = s2;
- if (p >= s) {
- while (n--) {
- *s++ = *p++;
- }
- } else {
- s += n;
- p += n;
- while (n--) {
- *--s = *--p;
- }
- }
-#else
register char *s;
register const char *p;
@@ -50,6 +32,5 @@ void bcopy(const void *s2, void *s1, size_t n)
}
}
#endif
-#endif
}
#endif