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/bcopy.c | |
parent | 00d805f334c009164d7cecab931086a0545af8d1 (diff) |
drop __BCC__ cruft from string code
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/string/bcopy.c')
-rw-r--r-- | libc/string/bcopy.c | 19 |
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 |