summaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_test.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_test.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_test.c')
-rw-r--r--nuttx/mm/mm_test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/mm/mm_test.c b/nuttx/mm/mm_test.c
index 4dadcec27..4e414d848 100644
--- a/nuttx/mm/mm_test.c
+++ b/nuttx/mm/mm_test.c
@@ -1,7 +1,7 @@
-/************************************************************
- * mm_test.c
+/************************************************************************
+ * mm/mm_test.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,7 +31,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ************************************************************************/
#include <stdio.h>
#include <stdlib.h>
@@ -46,7 +46,7 @@
#include "mm_internal.h"
-/* Definitions */
+/* Pre-processor Definitions */
#define TEST_HEAP1_SIZE 0x00080000
#define TEST_HEAP2_SIZE 0x00080000
@@ -102,9 +102,9 @@ static struct mallinfo alloc_info;
static unsigned int g_reportedheapsize = 0;
static unsigned int g_actualheapsize = 0;
-/************************************************************
+/************************************************************************
* mm_showchunkinfo
- ************************************************************/
+ ************************************************************************/
static int mm_findinfreelist(struct mm_freenode_s *node)
{