diff options
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxmu/nx_setposition.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxmu/nx_setsize.c | 4 | ||||
-rw-r--r-- | nuttx/graphics/nxsu/nx_setposition.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxsu/nx_setsize.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_setposition.c | 2 | ||||
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_setsize.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/graphics/nxmu/nx_setposition.c b/nuttx/graphics/nxmu/nx_setposition.c index d720f00f0..1e59c10e2 100644 --- a/nuttx/graphics/nxmu/nx_setposition.c +++ b/nuttx/graphics/nxmu/nx_setposition.c @@ -84,7 +84,7 @@ * ****************************************************************************/ -int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos) +int nx_setposition(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos) { FAR struct nxbe_window_s *wnd = (FAR struct nxbe_window_s *)hwnd; struct nxsvrmsg_setposition_s outmsg; diff --git a/nuttx/graphics/nxmu/nx_setsize.c b/nuttx/graphics/nxmu/nx_setsize.c index 5a8a4c582..5655e61a2 100644 --- a/nuttx/graphics/nxmu/nx_setsize.c +++ b/nuttx/graphics/nxmu/nx_setsize.c @@ -70,7 +70,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: nx_setsize` + * Name: nx_setsize * * Description: * Set the size of the selected window @@ -84,7 +84,7 @@ * ****************************************************************************/ -int nx_setsize(NXWINDOW hwnd, FAR struct nxgl_size_s *size) +int nx_setsize(NXWINDOW hwnd, FAR const struct nxgl_size_s *size) { FAR struct nxbe_window_s *wnd = (FAR struct nxbe_window_s *)hwnd; struct nxsvrmsg_setsize_s outmsg; diff --git a/nuttx/graphics/nxsu/nx_setposition.c b/nuttx/graphics/nxsu/nx_setposition.c index 44e66061f..fc6d5bdc3 100644 --- a/nuttx/graphics/nxsu/nx_setposition.c +++ b/nuttx/graphics/nxsu/nx_setposition.c @@ -84,7 +84,7 @@ * ****************************************************************************/ -int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos) +int nx_setposition(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos) { #ifdef CONFIG_DEBUG if (!hwnd || !pos) diff --git a/nuttx/graphics/nxsu/nx_setsize.c b/nuttx/graphics/nxsu/nx_setsize.c index 19d20e5d2..171e26fae 100644 --- a/nuttx/graphics/nxsu/nx_setsize.c +++ b/nuttx/graphics/nxsu/nx_setsize.c @@ -84,7 +84,7 @@ * ****************************************************************************/ -int nx_setsize(NXWINDOW hwnd, FAR struct nxgl_size_s *size) +int nx_setsize(NXWINDOW hwnd, FAR const struct nxgl_size_s *size) { #ifdef CONFIG_DEBUG if (!hwnd || !size) diff --git a/nuttx/graphics/nxtk/nxtk_setposition.c b/nuttx/graphics/nxtk/nxtk_setposition.c index dd090e639..3c744112b 100644 --- a/nuttx/graphics/nxtk/nxtk_setposition.c +++ b/nuttx/graphics/nxtk/nxtk_setposition.c @@ -90,7 +90,7 @@ * ****************************************************************************/ -int nxtk_setposition(NXTKWINDOW hfwnd, FAR struct nxgl_point_s *pos) +int nxtk_setposition(NXTKWINDOW hfwnd, FAR const struct nxgl_point_s *pos) { FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)hfwnd; struct nxgl_point_s offset; diff --git a/nuttx/graphics/nxtk/nxtk_setsize.c b/nuttx/graphics/nxtk/nxtk_setsize.c index 054a62c59..aeeebf150 100644 --- a/nuttx/graphics/nxtk/nxtk_setsize.c +++ b/nuttx/graphics/nxtk/nxtk_setsize.c @@ -90,7 +90,7 @@ * ****************************************************************************/ -int nxtk_setsize(NXTKWINDOW hfwnd, FAR struct nxgl_size_s *size) +int nxtk_setsize(NXTKWINDOW hfwnd, FAR const struct nxgl_size_s *size) { FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)hfwnd; struct nxgl_size_s newsize; |