svn commit: trunk/uClibc/libc/sysdeps/linux/arm

psm at uclibc.org psm at uclibc.org
Mon Jan 30 07:09:20 UTC 2006


Author: psm
Date: 2006-01-29 23:09:18 -0800 (Sun, 29 Jan 2006)
New Revision: 13695

Log:
Use memset instead of bzero

Modified:
   trunk/uClibc/libc/sysdeps/linux/arm/aeabi_memclr.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/arm/aeabi_memclr.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/aeabi_memclr.c	2006-01-30 06:44:51 UTC (rev 13694)
+++ trunk/uClibc/libc/sysdeps/linux/arm/aeabi_memclr.c	2006-01-30 07:09:18 UTC (rev 13695)
@@ -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.  */




More information about the uClibc-cvs mailing list