mlibc: Use memmove in realloc.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 15 Apr 2018 06:13:36 +0000 (08:13 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 15 Apr 2018 06:13:36 +0000 (08:13 +0200)
commit1270c767cd7d93c5234f44af28ba90a831a2020e
tree3cda25f7e84755fd5c0a4d0771a116e003c6c5e6
parentd052876f856bc948fac915cf58eb150776acf07f
mlibc: Use memmove in realloc.

* src/libc.c (memmove): New function.
  (realloc): Use it.
* src/libc+tcc.c (memmove): Remove.
lib/libc+tcc.c
lib/libc.c