diff options
Diffstat (limited to 'nuttx')
-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 | ||||
-rw-r--r-- | nuttx/include/nuttx/nx/nx.h | 4 | ||||
-rw-r--r-- | nuttx/include/nuttx/nx/nxtk.h | 4 |
8 files changed, 11 insertions, 11 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; diff --git a/nuttx/include/nuttx/nx/nx.h b/nuttx/include/nuttx/nx/nx.h index 9e070b6ee..c848b91e5 100644 --- a/nuttx/include/nuttx/nx/nx.h +++ b/nuttx/include/nuttx/nx/nx.h @@ -523,7 +523,7 @@ EXTERN int nx_getposition(NXWINDOW hwnd); * ****************************************************************************/ -EXTERN int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos); +EXTERN int nx_setposition(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos); /**************************************************************************** * Name: nx_setsize @@ -540,7 +540,7 @@ EXTERN int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos); * ****************************************************************************/ -EXTERN int nx_setsize(NXWINDOW hwnd, FAR struct nxgl_size_s *size); +EXTERN int nx_setsize(NXWINDOW hwnd, FAR const struct nxgl_size_s *size); /**************************************************************************** * Name: nx_raise diff --git a/nuttx/include/nuttx/nx/nxtk.h b/nuttx/include/nuttx/nx/nxtk.h index ae11d565e..107d8677c 100644 --- a/nuttx/include/nuttx/nx/nxtk.h +++ b/nuttx/include/nuttx/nx/nxtk.h @@ -144,7 +144,7 @@ EXTERN int nxtk_getposition(NXTKWINDOW hfwnd); * ****************************************************************************/ -EXTERN int nxtk_setposition(NXTKWINDOW hfwnd, FAR struct nxgl_point_s *pos); +EXTERN int nxtk_setposition(NXTKWINDOW hfwnd, FAR const struct nxgl_point_s *pos); /**************************************************************************** * Name: nxtk_setsize @@ -163,7 +163,7 @@ EXTERN int nxtk_setposition(NXTKWINDOW hfwnd, FAR struct nxgl_point_s *pos); * ****************************************************************************/ -EXTERN int nxtk_setsize(NXTKWINDOW hfwnd, FAR struct nxgl_size_s *size); +EXTERN int nxtk_setsize(NXTKWINDOW hfwnd, FAR const struct nxgl_size_s *size); /**************************************************************************** * Name: nxtk_raise |