summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_seekdir.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_seekdir.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_seekdir.c')
-rw-r--r--nuttx/fs/fs_seekdir.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/nuttx/fs/fs_seekdir.c b/nuttx/fs/fs_seekdir.c
index b1a40fa2f..ab1e7b621 100644
--- a/nuttx/fs/fs_seekdir.c
+++ b/nuttx/fs/fs_seekdir.c
@@ -1,7 +1,7 @@
-/************************************************************
- * fs_seekdir.c
+/****************************************************************************
+ * fs/fs_seekdir.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>
@@ -44,13 +44,13 @@
#include <nuttx/fs.h>
#include "fs_internal.h"
-/************************************************************
+/****************************************************************************
* Private Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: seekpsuedodir
- ************************************************************/
+ ****************************************************************************/
static inline void seekpsuedodir(struct internal_dir_s *idir, off_t offset)
{
@@ -105,9 +105,9 @@ static inline void seekpsuedodir(struct internal_dir_s *idir, off_t offset)
}
}
-/************************************************************
+/****************************************************************************
* Name: seekmountptdir
- ************************************************************/
+ ****************************************************************************/
#ifndef CONFIG_DISABLE_MOUNTPOINT
static inline void seekmountptdir(struct internal_dir_s *idir, off_t offset)
@@ -172,11 +172,11 @@ static inline void seekmountptdir(struct internal_dir_s *idir, off_t offset)
}
#endif
-/************************************************************
+/****************************************************************************
* Public Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: seekdir
*
* Description:
@@ -193,7 +193,7 @@ static inline void seekmountptdir(struct internal_dir_s *idir, off_t offset)
* Return:
* None
*
- ************************************************************/
+ ****************************************************************************/
void seekdir(FAR DIR *dirp, off_t offset)
{