aboutsummaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_environment.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-14 23:31:12 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-14 23:31:12 +0000
commit183aa2858c3bdabafb09943b00760c4831f588e1 (patch)
tree27bc6c7bda8a5889685481fab926aa45950651ea /nuttx/mm/mm_environment.h
parent7c6185ae4bfefb70c17e75219db7269c03c7fd79 (diff)
downloadpx4-firmware-183aa2858c3bdabafb09943b00760c4831f588e1.tar.gz
px4-firmware-183aa2858c3bdabafb09943b00760c4831f588e1.tar.bz2
px4-firmware-183aa2858c3bdabafb09943b00760c4831f588e1.zip
mm/ file clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4943 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/mm/mm_environment.h')
-rw-r--r--nuttx/mm/mm_environment.h40
1 files changed, 19 insertions, 21 deletions
diff --git a/nuttx/mm/mm_environment.h b/nuttx/mm/mm_environment.h
index ef4f14f7a..70e611116 100644
--- a/nuttx/mm/mm_environment.h
+++ b/nuttx/mm/mm_environment.h
@@ -2,7 +2,7 @@
* mm/mm_environment.h
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -40,33 +40,32 @@
* Included Files
****************************************************************************/
-/* The platform configuratioin file will not be included
- * when the memory manager is built for the host-based
- * test harness.
+/* The platform configuratioin file will not be included when the memory
+ * manager is built for the host-based test harness.
*/
#ifndef MM_TEST
-# include <nuttx/config.h>
-# include <nuttx/compiler.h>
-# include <sys/types.h>
-# include <stdlib.h>
-# include <string.h>
-# include <debug.h>
-# include <errno.h>
-# include <assert.h>
-# include <nuttx/mm.h>
+# include <nuttx/config.h>
+# include <nuttx/compiler.h>
+# include <sys/types.h>
+# include <stdlib.h>
+# include <string.h>
+# include <debug.h>
+# include <errno.h>
+# include <assert.h>
+# include <nuttx/mm.h>
#else
-# include <sys/types.h>
-# include <string.h>
-# include <assert.h>
+# include <sys/types.h>
+# include <string.h>
+# include <assert.h>
#endif
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
-/* Special definitions used when the memory mnager is built
- * for the host-based test harness.
+/* Special definitions used when the memory mnager is built for the host-
+ * based test harness.
*/
#ifdef MM_TEST
@@ -86,9 +85,8 @@ extern void mm_addregion(FAR void *heapstart, size_t heapsize);
# define mm_errno errno
-/* When built for the test harness, we change the names of the
- * exported functions so that they do not collide with the
- * host libc names.
+/* When built for the test harness, we change the names of the exported
+ * functions so that they do not collide with the host libc names.
*/
# define malloc mm_malloc