diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-10 14:40:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-10 14:40:03 +0000 |
commit | 54f8156cb21909034c6e82a5055cf7a906fb5848 (patch) | |
tree | 569f986b9b393a00e4cf6e9157059ebc08b3eba8 /nuttx/fs | |
parent | 10e66822588992414a400a3ebc70a263df7df666 (diff) | |
download | px4-nuttx-54f8156cb21909034c6e82a5055cf7a906fb5848.tar.gz px4-nuttx-54f8156cb21909034c6e82a5055cf7a906fb5848.tar.bz2 px4-nuttx-54f8156cb21909034c6e82a5055cf7a906fb5848.zip |
Make use of FAR consistent in stdio.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1182 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r-- | nuttx/fs/fs_rename.c | 2 | ||||
-rw-r--r-- | nuttx/fs/fs_statfs.c | 6 |
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 */ |