Skip to content

Commit

Permalink
fs.h: fix a comment in file_operations
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Sep 17, 2024
1 parent 9a9d0a6 commit a4ef589
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/nuttx/fs/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,11 @@ struct file_operations
FAR struct mm_map_entry_s *map);
CODE int (*truncate)(FAR struct file *filep, off_t length);

/* The two structures need not be common after this point */

CODE int (*poll)(FAR struct file *filep, FAR struct pollfd *fds,
bool setup);

/* The two structures need not be common after this point */

#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
CODE int (*unlink)(FAR struct inode *inode);
#endif
Expand Down

0 comments on commit a4ef589

Please sign in to comment.