diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-30 07:09:18 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-30 07:09:18 +0000 |
commit | c1c1a4f9cd97d81cca1306ebb6c3099313fd9ea2 (patch) | |
tree | 8c06de95c7e918bb3b549042ec2d88709d0cc34b /libc | |
parent | 34868b250209ea2f8d8c83bca08d351e531a484f (diff) |
Use memset instead of bzero
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/arm/aeabi_memclr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/aeabi_memclr.c b/libc/sysdeps/linux/arm/aeabi_memclr.c index 6b5ce82cf..ed335c0ac 100644 --- a/libc/sysdeps/linux/arm/aeabi_memclr.c +++ b/libc/sysdeps/linux/arm/aeabi_memclr.c @@ -18,14 +18,14 @@ #include <string.h> -libc_hidden_proto(bzero) +libc_hidden_proto(memset) /* Clear memory. Can't alias to bzero because it's not defined in the same translation unit. */ void __aeabi_memclr (void *dest, size_t n) { - bzero (dest, n); + memset (dest, 0, n); } /* Versions of the above which may assume memory alignment. */ |