include/nuttx/fs/fs.h: ... conflicting types for file_fstat().

This commit is contained in:
Gregory Nutt 2018-08-26 16:13:09 -06:00
parent 09c689ea15
commit 05faba2514
2 changed files with 10 additions and 10 deletions

View File

@ -39,12 +39,11 @@
#include <nuttx/config.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sched.h>
#include <errno.h>
#include <sys/stat.h>
#include <nuttx/fs/fs.h>
#include "inode/inode.h"

View File

@ -189,14 +189,19 @@
* Public Type Definitions
****************************************************************************/
/* Forward references */
struct file;
struct inode;
struct stat;
struct statfs;
struct pollfd;
struct fs_dirent_s;
/* This structure is provided by devices when they are registered with the
* system. It is used to call back to perform device specific operations.
*/
struct file; /* Forward reference */
struct pollfd; /* Forward reference */
struct inode; /* Forward reference */
struct file_operations
{
/* The device driver open method differs from the mountpoint open method */
@ -264,10 +269,6 @@ struct block_operations
* struct file_operations or struct mountpt_operations
*/
struct inode;
struct fs_dirent_s;
struct stat;
struct statfs;
struct mountpt_operations
{
/* The mountpoint open method differs from the driver open method