diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-27 21:17:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-27 21:17:21 +0000 |
commit | 148cde5e982950ad5836fa96baa466de842e1c14 (patch) | |
tree | bf737b367b91c5da81345eb21016b07400d7a72f /nuttx/fs/fs_open.c | |
parent | f6b81a790c28d7d36d9de33810df5270c1ebbfd7 (diff) | |
download | px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.gz px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.bz2 px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.zip |
Finally, a clean SDCC compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_open.c')
-rw-r--r-- | nuttx/fs/fs_open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c index deedd60fe..3703fecda 100644 --- a/nuttx/fs/fs_open.c +++ b/nuttx/fs/fs_open.c @@ -68,7 +68,7 @@ * Public Functions ************************************************************/ -int inode_checkflags(struct inode *inode, int oflags) +int inode_checkflags(FAR struct inode *inode, int oflags) { if (((oflags & O_RDOK) != 0 && !inode->i_ops->read) || ((oflags & O_WROK) != 0 && !inode->i_ops->write)) @@ -85,7 +85,7 @@ int inode_checkflags(struct inode *inode, int oflags) int open(const char *path, int oflags, ...) { struct filelist *list; - struct inode *inode; + FAR struct inode *inode; int status; int fd; @@ -150,7 +150,7 @@ int open(const char *path, int oflags, ...) status = OK; if (inode->i_ops && inode->i_ops->open) { - status = inode->i_ops->open(&list->fl_files[fd]); + status = inode->i_ops->open((FAR struct file*)&list->fl_files[fd]); } if (status != OK || !inode->i_ops) |