summaryrefslogtreecommitdiff
path: root/libc/string/bcopy.c
diff options
context:
space:
mode:
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