diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/arm/aeabi_memclr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/arm/aeabi_memclr.c b/sysdeps/arm/aeabi_memclr.c index 6687e49c9e..03263ea803 100644 --- a/sysdeps/arm/aeabi_memclr.c +++ b/sysdeps/arm/aeabi_memclr.c @@ -17,12 +17,12 @@ #include <string.h> -/* Clear memory. Can't alias to bzero because it's not defined in the - same translation unit. */ +/* Set memory like memset, but different argument order and no return + value required. Also only integer caller-saves may be used. */ void __aeabi_memclr (void *dest, size_t n) { - __bzero (dest, n); + memset (dest, 0, n); } /* Versions of the above which may assume memory alignment. */ |