aboutsummaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/mm/mm_free.c')
-rw-r--r--nuttx/mm/mm_free.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/nuttx/mm/mm_free.c b/nuttx/mm/mm_free.c
index 20135484b..b34b8a459 100644
--- a/nuttx/mm/mm_free.c
+++ b/nuttx/mm/mm_free.c
@@ -1,8 +1,8 @@
-/************************************************************************
+/****************************************************************************
* mm/mm_free.c
*
* Copyright (C) 2007, 2009 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
@@ -31,36 +31,37 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************************/
+ ****************************************************************************/
-/************************************************************************
+/****************************************************************************
* Included Files
- ************************************************************************/
+ ****************************************************************************/
#include <assert.h>
+
#include "mm_environment.h"
#include "mm_internal.h"
-/************************************************************************
+/****************************************************************************
* Pre-processor Definitions
- ************************************************************************/
+ ****************************************************************************/
-/************************************************************************
+/****************************************************************************
* Private Functions
- ************************************************************************/
+ ****************************************************************************/
-/************************************************************************
+/****************************************************************************
* Public Functions
- ************************************************************************/
+ ****************************************************************************/
-/************************************************************************
- * free
+/****************************************************************************
+ * Name: free
*
* Description:
- * Returns a chunk of memory into the list of free nodes,
- * merging with adjacent free chunks if possible.
+ * Returns a chunk of memory into the list of free nodes, merging with
+ * adjacent free chunks if possible.
*
- ************************************************************************/
+ ****************************************************************************/
void free(FAR void *mem)
{