diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-07-14 23:31:12 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-07-14 23:31:12 +0000 |
commit | 745af7084e4ae63af1e944c00d182445860e8dba (patch) | |
tree | 27bc6c7bda8a5889685481fab926aa45950651ea /nuttx/mm/mm_calloc.c | |
parent | 9d898f8d7a34de1a964198221f86840d25841715 (diff) |
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_calloc.c')
-rw-r--r-- | nuttx/mm/mm_calloc.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/nuttx/mm/mm_calloc.c b/nuttx/mm/mm_calloc.c index 47c75d42f9..576081a16b 100644 --- a/nuttx/mm/mm_calloc.c +++ b/nuttx/mm/mm_calloc.c @@ -1,8 +1,8 @@ -/************************************************************************ - * mm_calloc.c +/**************************************************************************** + * mm/mm_calloc.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,29 +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 - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Global Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ - * calloc +/**************************************************************************** + * Name: calloc * * Descripton: - * calloc calculates the size and calls zalloc - ************************************************************************/ + * calloc calculates the size of the allocation and calls zalloc + * + ****************************************************************************/ FAR void *calloc(size_t n, size_t elem_size) { |