aboutsummaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_size2ndx.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/mm/mm_size2ndx.c')
-rw-r--r--nuttx/mm/mm_size2ndx.c26
1 files changed, 16 insertions, 10 deletions
diff --git a/nuttx/mm/mm_size2ndx.c b/nuttx/mm/mm_size2ndx.c
index 492dd8ba0..b2a0a8e14 100644
--- a/nuttx/mm/mm_size2ndx.c
+++ b/nuttx/mm/mm_size2ndx.c
@@ -1,8 +1,8 @@
-/************************************************************************
+/****************************************************************************
* mm/mm_size2ndx.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,24 +31,30 @@
* 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"
-/************************************************************************
+/****************************************************************************
* Pre-processor Definitions
- ************************************************************************/
+ ****************************************************************************/
-/************************************************************************
+/****************************************************************************
* Public Functions
- ************************************************************************/
+ ****************************************************************************/
-/* Convert the size to a nodelist index */
+/****************************************************************************
+ * Name: mm_size2ndx
+ *
+ * Description:
+ * Convert the size to a nodelist index.
+ *
+ ****************************************************************************/
int mm_size2ndx(size_t size)
{