1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Rather than using a C implementation of memmove, directly call memmove, which

typically has a much faster optimized implementation.
This commit is contained in:
Wilco Dijkstra
2015-02-27 14:44:41 +00:00
parent ddcf6798d3
commit af96be3482
2 changed files with 9 additions and 9 deletions

View File

@ -17,12 +17,8 @@
#include <string.h>
#define memmove bcopy
#define rettype void
#define RETURN(s) return
#define a1 src
#define a1const const
#define a2 dest
#define a2const
#include <string/memmove.c>
void
bcopy (const void *src, void *dest, size_t len)
{
memmove (dest, src, len);
}