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:
parent
e25983607c
commit
d7770a1cdd
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue