summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
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 f8c117922..52c8e64f9 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 878568443..4a3a39cdc 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 */