graphics: vnc: fix nxstyle errors

fix errors reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-04-03 17:10:55 +02:00 committed by Xiang Xiao
parent ec1b89e264
commit 787aca4f4e
2 changed files with 13 additions and 8 deletions

View File

@ -40,7 +40,7 @@
* Pre-processor Definitions
****************************************************************************/
/* NxTerm Definitions ****************************************************/
/* NxTerm Definitions *******************************************************/
/* Bitmap flags */
@ -103,7 +103,7 @@ struct nxterm_bitmap_s
struct nxgl_point_s pos; /* Character position */
};
/* Describes the state of one NX console driver*/
/* Describes the state of one NX console driver */
struct nxterm_state_s
{
@ -186,7 +186,8 @@ int nxterm_sempost(FAR struct nxterm_state_s *priv);
/* Common device registration/un-registration */
FAR struct nxterm_state_s *nxterm_register(NXTERM handle,
FAR struct nxterm_window_s *wndo, FAR const struct nxterm_operations_s *ops,
FAR struct nxterm_window_s *wndo,
FAR const struct nxterm_operations_s *ops,
int minor);
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
void nxterm_unregister(FAR struct nxterm_state_s *priv);
@ -210,20 +211,23 @@ int nxterm_resize(NXTERM handle, FAR const struct nxgl_size_s *size);
/* VT100 Terminal emulation */
enum nxterm_vt100state_e nxterm_vt100(FAR struct nxterm_state_s *priv, char ch);
enum nxterm_vt100state_e nxterm_vt100(FAR struct nxterm_state_s *priv,
char ch);
/* Generic text display helpers */
void nxterm_home(FAR struct nxterm_state_s *priv);
void nxterm_clear(FAR struct nxterm_state_s *priv);
void nxterm_newline(FAR struct nxterm_state_s *priv);
FAR const struct nxterm_bitmap_s *nxterm_addchar(FAR struct nxterm_state_s *priv,
uint8_t ch);
FAR const
struct nxterm_bitmap_s *nxterm_addchar(FAR struct nxterm_state_s *priv,
uint8_t ch);
int nxterm_hidechar(FAR struct nxterm_state_s *priv,
FAR const struct nxterm_bitmap_s *bm);
int nxterm_backspace(FAR struct nxterm_state_s *priv);
void nxterm_fillchar(FAR struct nxterm_state_s *priv,
FAR const struct nxgl_rect_s *rect, FAR const struct nxterm_bitmap_s *bm);
FAR const struct nxgl_rect_s *rect,
FAR const struct nxterm_bitmap_s *bm);
void nxterm_putc(FAR struct nxterm_state_s *priv, uint8_t ch);
void nxterm_showcursor(FAR struct nxterm_state_s *priv);

View File

@ -277,7 +277,8 @@ int vnc_receiver(FAR struct vnc_session_s *session)
1);
if (ret < 0)
{
gerr("ERROR: Failed to read FramebufferUpdateRequest message: %d\n",
gerr("ERROR: "
"Failed to read FramebufferUpdateRequest message: %d\n",
ret);
}
else