summaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_calloc.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-27 21:17:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-27 21:17:21 +0000
commit148cde5e982950ad5836fa96baa466de842e1c14 (patch)
treebf737b367b91c5da81345eb21016b07400d7a72f /nuttx/mm/mm_calloc.c
parentf6b81a790c28d7d36d9de33810df5270c1ebbfd7 (diff)
downloadpx4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.gz
px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.bz2
px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.zip
Finally, a clean SDCC compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/mm/mm_calloc.c')
-rw-r--r--nuttx/mm/mm_calloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/mm/mm_calloc.c b/nuttx/mm/mm_calloc.c
index de69b881c..6c9db3440 100644
--- a/nuttx/mm/mm_calloc.c
+++ b/nuttx/mm/mm_calloc.c
@@ -55,9 +55,9 @@
* calloc calculates the size and calls zalloc
************************************************************/
-void *calloc(size_t n, size_t elem_size)
+FAR void *calloc(size_t n, size_t elem_size)
{
- void *ret = NULL;
+ FAR void *ret = NULL;
if (n > 0 && elem_size > 0)
{