This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 7d1ac73eea73fd8fe11d5fdccd9f0e601ef3719e Author: Petro Karashchenko <petro.karashche...@gmail.com> AuthorDate: Sun Sep 10 15:21:25 2023 +0300 include/nuttx/fs: add missing 'CODE' Signed-off-by: Petro Karashchenko <petro.karashche...@gmail.com> --- include/nuttx/fs/fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index fd6e0157bf..c12d43a765 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -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