summaryrefslogtreecommitdiff
path: root/nuttx/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics')
-rw-r--r--nuttx/graphics/nxbe/nxbe_fbconfigure.c1
-rw-r--r--nuttx/graphics/nxbe/nxbe_lower.c1
-rw-r--r--nuttx/graphics/nxfonts/nxfonts_convert.c3
-rw-r--r--nuttx/graphics/nxfonts/nxfonts_getfont.c5
-rw-r--r--nuttx/graphics/nxsu/nx_kbdchin.c1
-rw-r--r--nuttx/graphics/nxsu/nx_kbdin.c1
-rw-r--r--nuttx/graphics/nxsu/nx_mousein.c1
7 files changed, 10 insertions, 3 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_fbconfigure.c b/nuttx/graphics/nxbe/nxbe_fbconfigure.c
index fb3e51f6c..df6dbe0d9 100644
--- a/nuttx/graphics/nxbe/nxbe_fbconfigure.c
+++ b/nuttx/graphics/nxbe/nxbe_fbconfigure.c
@@ -39,6 +39,7 @@
#include <nuttx/config.h>
+#include <stddef.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxbe/nxbe_lower.c b/nuttx/graphics/nxbe/nxbe_lower.c
index 334f50492..f2f160e83 100644
--- a/nuttx/graphics/nxbe/nxbe_lower.c
+++ b/nuttx/graphics/nxbe/nxbe_lower.c
@@ -39,6 +39,7 @@
#include <nuttx/config.h>
+#include <stddef.h>
#include <debug.h>
#include <nuttx/nxglib.h>
diff --git a/nuttx/graphics/nxfonts/nxfonts_convert.c b/nuttx/graphics/nxfonts/nxfonts_convert.c
index 0599faa9b..ea8672c26 100644
--- a/nuttx/graphics/nxfonts/nxfonts_convert.c
+++ b/nuttx/graphics/nxfonts/nxfonts_convert.c
@@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include <stdint.h>
+#include <stddef.h>
#include <debug.h>
#include <nuttx/nxglib.h>
@@ -145,7 +146,7 @@ int NXF_FUNCNAME(nxf_convert,NXFONTS_SUFFIX)
FAR NXF_PIXEL_T *dptr;
FAR const uint8_t *sptr;
uint8_t bmbyte;
- uint8_t bmbit;
+ int bmbit;
int row;
int col;
int bmndx;
diff --git a/nuttx/graphics/nxfonts/nxfonts_getfont.c b/nuttx/graphics/nxfonts/nxfonts_getfont.c
index 9fcc57155..3c53cae7f 100644
--- a/nuttx/graphics/nxfonts/nxfonts_getfont.c
+++ b/nuttx/graphics/nxfonts/nxfonts_getfont.c
@@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include <stdint.h>
+#include <stddef.h>
#include <debug.h>
#include <nuttx/nxfonts.h>
@@ -136,8 +137,8 @@ FAR const struct nx_font_s *nxf_getfontset(void)
FAR const struct nx_fontbitmap_s *nxf_getbitmap(uint16_t ch)
{
- FAR const struct nx_fontset_s *set = nxf_getglyphset(ch);
- FAR struct nx_fontbitmap_s *bm = NULL;
+ FAR const struct nx_fontset_s *set = nxf_getglyphset(ch);
+ FAR const struct nx_fontbitmap_s *bm = NULL;
if (set)
{
diff --git a/nuttx/graphics/nxsu/nx_kbdchin.c b/nuttx/graphics/nxsu/nx_kbdchin.c
index 03db76f48..51f4d8ce1 100644
--- a/nuttx/graphics/nxsu/nx_kbdchin.c
+++ b/nuttx/graphics/nxsu/nx_kbdchin.c
@@ -95,6 +95,7 @@ int nx_kbdchin(NXHANDLE handle, uint8_t ch)
{
wnd->cb->kbdin(wnd, 1, &ch, wnd->arg);
}
+ return OK;
}
#endif /* CONFIG_NX_KBD */
diff --git a/nuttx/graphics/nxsu/nx_kbdin.c b/nuttx/graphics/nxsu/nx_kbdin.c
index 4a1b93d09..066c31c8e 100644
--- a/nuttx/graphics/nxsu/nx_kbdin.c
+++ b/nuttx/graphics/nxsu/nx_kbdin.c
@@ -94,6 +94,7 @@ int nx_kbdin(NXHANDLE handle, uint8_t nch, FAR const uint8_t *ch)
{
wnd->cb->kbdin(wnd, nch, ch, wnd->arg);
}
+ return OK;
}
#endif /* CONFIG_NX_KBD */
diff --git a/nuttx/graphics/nxsu/nx_mousein.c b/nuttx/graphics/nxsu/nx_mousein.c
index d83da90b0..2d4c9bec9 100644
--- a/nuttx/graphics/nxsu/nx_mousein.c
+++ b/nuttx/graphics/nxsu/nx_mousein.c
@@ -194,6 +194,7 @@ int nx_mousein(NXHANDLE handle, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttons)
}
}
}
+ return OK;
}
#endif /* CONFIG_NX_MOUSE */