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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user