summaryrefslogtreecommitdiffstats
path: root/nuttx/fs
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-10 14:40:03 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-10 14:40:03 +0000
commita8a3b454ceb92470e6347481bd822e497a69835c (patch)
tree569f986b9b393a00e4cf6e9157059ebc08b3eba8 /nuttx/fs
parent46b4c0cec14e22dc13ef34584b0dba68d1d98867 (diff)
Make use of FAR consistent in stdio.h
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1182 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fs_rename.c2
-rw-r--r--nuttx/fs/fs_statfs.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/fs/fs_rename.c b/nuttx/fs/fs_rename.c
index f8c1179228..52c8e64f9b 100644
--- a/nuttx/fs/fs_rename.c
+++ b/nuttx/fs/fs_rename.c
@@ -72,7 +72,7 @@
*
****************************************************************************/
-int rename(const char *oldpath, const char *newpath)
+int rename(FAR const char *oldpath, FAR const char *newpath)
{
FAR struct inode *oldinode;
FAR struct inode *newinode;
diff --git a/nuttx/fs/fs_statfs.c b/nuttx/fs/fs_statfs.c
index 878568443d..4a3a39cdc4 100644
--- a/nuttx/fs/fs_statfs.c
+++ b/nuttx/fs/fs_statfs.c
@@ -63,7 +63,7 @@ static inline int statpsuedofs(FAR struct inode *inode, FAR struct statfs *buf)
}
/****************************************************************************
- * Global Functions
+ * Public Functions
****************************************************************************/
/****************************************************************************
@@ -82,10 +82,10 @@ static inline int statpsuedofs(FAR struct inode *inode, FAR struct statfs *buf)
*
****************************************************************************/
-int statfs(const char *path, struct statfs *buf)
+int statfs(FAR const char *path, FAR struct statfs *buf)
{
FAR struct inode *inode;
- const char *relpath = NULL;
+ FAR const char *relpath = NULL;
int ret = OK;
/* Sanity checks */