mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
nuttx: fix multiple 'FAR', 'CODE' and style issues
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
5d17e4795a
commit
d499ac9d58
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user