Added a forward reference to struct inode to avoid warning about mismatching types in assignemnt

This commit is contained in:
Gregory Nutt 2015-02-10 13:41:49 -06:00
parent 9e2702fa52
commit 410fcaa0a1
3 changed files with 6 additions and 4 deletions

2
TODO
View File

@ -887,7 +887,7 @@ o Network (net/, drivers/net)
DMxxx NIC NO
PIC32 NO
RGMP NO
SAM3/4 NO
SAM3/4 YES <<
SAMA5D3 NO
SAMA5D4 YES <<
SIM N/A << Doesn't support interrupts

View File

@ -135,7 +135,7 @@ extern "C" {
#endif
struct file; /* Forward reference */
struct inode; /* Forware reference */
struct inode; /* Forward reference */
FAR struct pipe_dev_s *pipecommon_allocdev(void);
void pipecommon_freedev(FAR struct pipe_dev_s *dev);

View File

@ -73,8 +73,10 @@
* system. It is used to call back to perform device specific operations.
*/
struct file;
struct pollfd;
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 */