mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
Finally, a clean SDCC compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+2
-2
@@ -56,9 +56,9 @@
|
||||
*
|
||||
************************************************************/
|
||||
|
||||
void *zalloc(size_t size)
|
||||
FAR void *zalloc(size_t size)
|
||||
{
|
||||
void *alloc = malloc(size);
|
||||
FAR void *alloc = malloc(size);
|
||||
if (alloc)
|
||||
{
|
||||
memset(alloc, 0, size);
|
||||
|
||||
Reference in New Issue
Block a user