nuttx: fix multiple 'FAR', 'CODE' and style issues

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2024-08-24 19:21:12 -04:00
committed by Xiang Xiao
parent 5d17e4795a
commit d499ac9d58
275 changed files with 2130 additions and 1986 deletions
@@ -69,7 +69,7 @@ void NXGL_FUNCNAME(nxglib_cursor_backup, NXGLIB_SUFFIX)
FAR const uint8_t *sline;
FAR uint8_t *dline;
FAR const NXGL_PIXEL_T *src;
FAR FAR NXGL_PIXEL_T *dest;
FAR NXGL_PIXEL_T *dest;
nxgl_coord_t width;
nxgl_coord_t height;
nxgl_coord_t sstride;
+1 -1
View File
@@ -157,7 +157,7 @@ struct nxterm_state_s
* retained in the f_priv field of the 'struct file'.
*/
struct pollfd *fds[CONFIG_NXTERM_NPOLLWAITERS];
FAR struct pollfd *fds[CONFIG_NXTERM_NPOLLWAITERS];
#endif /* CONFIG_NXTERM_NXKBDIN */
};
+1 -1
View File
@@ -289,7 +289,7 @@ int nxterm_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup)
{
/* This is a request to tear down the poll. */
struct pollfd **slot = (struct pollfd **)fds->priv;
FAR struct pollfd **slot = (FAR struct pollfd **)fds->priv;
#ifdef CONFIG_DEBUG_GRAPHICS
if (!slot)