mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
include/nuttx/fs/nxffs.h: Needs forward reference to struct mtd_dev_s and needs to include stdbool.h
This commit is contained in:
@@ -41,6 +41,9 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <nuttx/fs/fs.h>
|
||||
|
||||
/****************************************************************************
|
||||
@@ -134,6 +137,7 @@ extern "C"
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
struct mtd_dev_s;
|
||||
int nxffs_initialize(FAR struct mtd_dev_s *mtd);
|
||||
|
||||
/****************************************************************************
|
||||
@@ -154,6 +158,7 @@ int nxffs_initialize(FAR struct mtd_dev_s *mtd);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
struct mtd_dev_s;
|
||||
int nxffs_dump(FAR struct mtd_dev_s *mtd, bool verbose);
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user