summaryrefslogtreecommitdiff
path: root/nuttx/fs/fat/fs_fat32attrib.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-02 17:22:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-02 17:22:22 +0000
commitac07d5181166fdcf6b9330e60ff267700ef40d74 (patch)
tree7a54d4e000045ef2eac3fac678f3044b52442cb0 /nuttx/fs/fat/fs_fat32attrib.c
parent2b009ee7016b4cb5f06bc9cd25325beecd45ea2b (diff)
downloadpx4-nuttx-ac07d5181166fdcf6b9330e60ff267700ef40d74.tar.gz
px4-nuttx-ac07d5181166fdcf6b9330e60ff267700ef40d74.tar.bz2
px4-nuttx-ac07d5181166fdcf6b9330e60ff267700ef40d74.zip
typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@799 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fat/fs_fat32attrib.c')
-rw-r--r--nuttx/fs/fat/fs_fat32attrib.c38
1 files changed, 17 insertions, 21 deletions
diff --git a/nuttx/fs/fat/fs_fat32attrib.c b/nuttx/fs/fat/fs_fat32attrib.c
index 7537fbf98..dee01102c 100644
--- a/nuttx/fs/fat/fs_fat32attrib.c
+++ b/nuttx/fs/fat/fs_fat32attrib.c
@@ -1,7 +1,7 @@
-/************************************************************
- * fs_fat32attrib.c
+/****************************************************************************
+ * fs/fat/fs_fat32attrib.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,15 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
- * Compilation Switches
- ************************************************************/
-
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -51,13 +47,13 @@
#include "fs_internal.h"
#include "fs_fat32.h"
-/************************************************************
+/****************************************************************************
* Private Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: fat_attrib
- ************************************************************/
+ ****************************************************************************/
static int fat_attrib(const char *path, fat_attrib_t *retattrib,
fat_attrib_t setbits, fat_attrib_t clearbits)
@@ -166,22 +162,22 @@ errout:
return ERROR;
}
-/************************************************************
+/****************************************************************************
* Global Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: fat_getattrib
- ************************************************************/
+ ****************************************************************************/
int fat_getattrib(const char *path, fat_attrib_t *attrib)
{
return fat_attrib(path, attrib, 0, 0);
}
-/************************************************************
+/****************************************************************************
* Name: fat_setattrib
- ************************************************************/
+ ****************************************************************************/
int fat_setattrib(const char *path, fat_attrib_t setbits, fat_attrib_t clearbits)
{