mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 21:19:03 +00:00
include/nuttx/fs: add missing 'CODE'
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
816cb3cfaf
commit
7d1ac73eea
1 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ struct file_operations
|
|||
CODE int (*ioctl)(FAR struct file *filep, int cmd, unsigned long arg);
|
||||
CODE int (*mmap)(FAR struct file *filep,
|
||||
FAR struct mm_map_entry_s *map);
|
||||
int (*truncate)(FAR struct file *filep, off_t length);
|
||||
CODE int (*truncate)(FAR struct file *filep, off_t length);
|
||||
|
||||
/* The two structures need not be common after this point */
|
||||
|
||||
|
|
@ -300,7 +300,7 @@ struct mountpt_operations
|
|||
*/
|
||||
|
||||
CODE int (*open)(FAR struct file *filep, FAR const char *relpath,
|
||||
int oflags, mode_t mode);
|
||||
int oflags, mode_t mode);
|
||||
|
||||
/* The following methods must be identical in signature and position
|
||||
* because the struct file_operations and struct mountpt_operations are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue