1
0
Fork 0
forked from len0rd/rockbox

puzzles: rename bcopy() to bcopy_wrapper() and make static

- fixes a name collision on linux

Change-Id: I9f162b5c8a1f319fa6495ff9343fb6007cc20edf
This commit is contained in:
Franklin Wei 2017-01-02 18:12:43 -05:00 committed by Gerrit Rockbox
parent e25983607c
commit d7770a1cdd

View file

@ -1664,7 +1664,7 @@ typedef uint64_t u_quad_t;
static const u_char *__sccl(char *, const u_char *); static const u_char *__sccl(char *, const u_char *);
void bcopy(const void *src, void *dst, size_t n) static void bcopy_wrapper(const void *src, void *dst, size_t n)
{ {
memmove(dst, src, n); memmove(dst, src, n);
} }
@ -1889,7 +1889,7 @@ literal:
} }
nread += sum; nread += sum;
} else { } else {
bcopy(inp, va_arg(ap, char *), width); bcopy_wrapper(inp, va_arg(ap, char *), width);
inr -= width; inr -= width;
inp += width; inp += width;
nread += width; nread += width;