diff --git a/drivers/note/noteram_driver.c b/drivers/note/noteram_driver.c index 8118ccc2ac6..acc0389b250 100644 --- a/drivers/note/noteram_driver.c +++ b/drivers/note/noteram_driver.c @@ -111,7 +111,7 @@ static int noteram_open(FAR struct file *filep); static int noteram_close(FAR struct file *filep); static ssize_t noteram_read(FAR struct file *filep, FAR char *buffer, size_t buflen); -static int noteram_ioctl(struct file *filep, int cmd, unsigned long arg); +static int noteram_ioctl(FAR struct file *filep, int cmd, unsigned long arg); static void noteram_add(FAR struct note_driver_s *drv, FAR const void *note, size_t len); static void diff --git a/include/nuttx/streams.h b/include/nuttx/streams.h index b0a7e58535c..dcf832566eb 100644 --- a/include/nuttx/streams.h +++ b/include/nuttx/streams.h @@ -212,7 +212,7 @@ struct lib_rawoutstream_s struct lib_fileoutstream_s { struct lib_outstream_s common; - struct file *file; + FAR struct file *file; }; struct lib_rawsistream_s