diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | string/bcopy.c | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog index 6eb5290fdb..b55d6d613a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2015-02-27 Wilco Dijkstra wdijkstr@arm.com + * string/bcopy.c (bcopy): Call memmove for performance. + +2015-02-27 Wilco Dijkstra wdijkstr@arm.com + * string/bzero.c (__bzero): Call memset for performance. 2015-02-27 John David Anglin <dave.anglin@bell.net> diff --git a/string/bcopy.c b/string/bcopy.c index 326478a995..f74e589449 100644 --- a/string/bcopy.c +++ b/string/bcopy.c @@ -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); +} |