Skip to content
Snippets Groups Projects
Commit ad93759c authored by patacongo's avatar patacongo
Browse files

Share block driver helpers outside of fs/

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1069 42af7a65-404d-4744-a932-0658087f49c3
parent e8fe75b7
No related branches found
No related tags found
No related merge requests found
......@@ -234,15 +234,6 @@ EXTERN void files_release(int filedes);
EXTERN int find_blockdriver(FAR const char *pathname, int mountflags,
FAR struct inode **ppinode);
/* fs_openblockdriver.c ******************************************************/
EXTERN int open_blockdriver(FAR const char *pathname, int mountflags,
FAR struct inode **ppinode);
/* fs_closeblockdriver.c *****************************************************/
EXTERN int close_blockdriver(FAR struct inode *inode);
#undef EXTERN
#if defined(__cplusplus)
}
......
......@@ -336,6 +336,15 @@ EXTERN FAR struct filelist *files_alloclist(void);
EXTERN int files_addreflist(FAR struct filelist *list);
EXTERN int files_releaselist(FAR struct filelist *list);
EXTERN int files_dup(FAR struct file *filep1, FAR struct file *filep2);
/* fs_openblockdriver.c ******************************************************/
EXTERN int open_blockdriver(FAR const char *pathname, int mountflags,
FAR struct inode **ppinode);
/* fs_closeblockdriver.c *****************************************************/
EXTERN int close_blockdriver(FAR struct inode *inode);
#endif
/* lib_fopen.c **************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment