summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_readdir.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-12 14:46:44 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-12 14:46:44 +0000
commit552c3507003e4759a0975c28b74e252cb661d53b (patch)
tree3654b4b2751309771218ccc20ee8065fbed341b7 /nuttx/fs/fs_readdir.c
parent6aef5e8ed36c97406e930f3cf45d259399fc3d59 (diff)
downloadpx4-nuttx-552c3507003e4759a0975c28b74e252cb661d53b.tar.gz
px4-nuttx-552c3507003e4759a0975c28b74e252cb661d53b.tar.bz2
px4-nuttx-552c3507003e4759a0975c28b74e252cb661d53b.zip
cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@914 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_readdir.c')
-rw-r--r--nuttx/fs/fs_readdir.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/nuttx/fs/fs_readdir.c b/nuttx/fs/fs_readdir.c
index 9611aa7da..64b02117a 100644
--- a/nuttx/fs/fs_readdir.c
+++ b/nuttx/fs/fs_readdir.c
@@ -1,7 +1,7 @@
-/************************************************************
- * fs_readdir.c
+/****************************************************************************
+ * fs/fs_readdir.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 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,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -45,13 +45,13 @@
#include <nuttx/fs.h>
#include "fs_internal.h"
-/************************************************************
+/****************************************************************************
* Private Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: readpsuedodir
- ************************************************************/
+ ****************************************************************************/
static inline int readpsuedodir(struct internal_dir_s *idir)
{
@@ -129,11 +129,11 @@ static inline int readpsuedodir(struct internal_dir_s *idir)
return OK;
}
-/************************************************************
+/****************************************************************************
* Public Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: readdir
*
* Description:
@@ -153,7 +153,7 @@ static inline int readpsuedodir(struct internal_dir_s *idir)
*
* EBADF - Invalid directory stream descriptor dir
*
- ************************************************************/
+ ****************************************************************************/
FAR struct dirent *readdir(DIR *dirp)
{