mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
fs/inode/inode.h: Fix a warning 'inode/inode.h:264:45: error: 'struct stat' declared inside parameter list' by adding a forward reference to struct stat. Noted by David Sidrane.
This commit is contained in:
@@ -261,6 +261,7 @@ int inode_find(FAR struct inode_search_s *desc);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
struct stat; /* Forward reference */
|
||||
int inode_stat(FAR struct inode *inode, FAR struct stat *buf);
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user