summaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_addfreechunk.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 01:39:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 01:39:03 +0000
commit2b8c1142b851c7a81eafe69ed35c490f3d9c6735 (patch)
tree4d6aa4a8b58305d635635ce6b8cb3532aa437c67 /nuttx/mm/mm_addfreechunk.c
parenta4155eb61d984728e938cd4b1ab0aca7b9513d78 (diff)
downloadpx4-nuttx-2b8c1142b851c7a81eafe69ed35c490f3d9c6735.tar.gz
px4-nuttx-2b8c1142b851c7a81eafe69ed35c490f3d9c6735.tar.bz2
px4-nuttx-2b8c1142b851c7a81eafe69ed35c490f3d9c6735.zip
Switching to C99 stdint/stdbool.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2342 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/mm/mm_addfreechunk.c')
-rw-r--r--nuttx/mm/mm_addfreechunk.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/nuttx/mm/mm_addfreechunk.c b/nuttx/mm/mm_addfreechunk.c
index c3b74a07d..0cf2fcf42 100644
--- a/nuttx/mm/mm_addfreechunk.c
+++ b/nuttx/mm/mm_addfreechunk.c
@@ -1,7 +1,7 @@
-/************************************************************
- * mm_addfreechunk.c
+/************************************************************************
+ * mm/mm_addfreechunk.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,35 +31,35 @@
* 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
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Global Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* mm_addfreechunk
*
* Description:
* Add a free chunk to the node next
* It is assumed that the caller holds the mm semaphore
*
- ************************************************************/
+ ************************************************************************/
void mm_addfreechunk(FAR struct mm_freenode_s *node)
{