summaryrefslogtreecommitdiffstats
path: root/nuttx/mm/mm_calloc.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-12-15 01:39:03 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-12-15 01:39:03 +0000
commit113f5eeed36bb19373cca4dc833e6209d32dc2fe (patch)
tree4d6aa4a8b58305d635635ce6b8cb3532aa437c67 /nuttx/mm/mm_calloc.c
parentbf1115a0783a6a685ad47a30b87f3f84c91de26b (diff)
Switching to C99 stdint/stdbool.h types
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2342 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/mm/mm_calloc.c')
-rw-r--r--nuttx/mm/mm_calloc.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/nuttx/mm/mm_calloc.c b/nuttx/mm/mm_calloc.c
index 6c9db3440b..47c75d42f9 100644
--- a/nuttx/mm/mm_calloc.c
+++ b/nuttx/mm/mm_calloc.c
@@ -1,7 +1,7 @@
-/************************************************************
+/************************************************************************
* mm_calloc.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,29 +31,29 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Included Files
- ************************************************************/
+ ************************************************************************/
#include "mm_environment.h"
#include "mm_internal.h"
-/************************************************************
- * Definitions
- ************************************************************/
+/************************************************************************
+ * Pre-processor Definitions
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Global Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* calloc
*
* Descripton:
* calloc calculates the size and calls zalloc
- ************************************************************/
+ ************************************************************************/
FAR void *calloc(size_t n, size_t elem_size)
{