summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxtk
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxtk')
-rw-r--r--nuttx/graphics/nxtk/nxtk_bitmaptoolbar.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_bitmapwindow.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_closetoolbar.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_containerclip.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_drawframe.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_events.c23
-rw-r--r--nuttx/graphics/nxtk/nxtk_filltoolbar.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_filltraptoolbar.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_filltrapwindow.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_fillwindow.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_getposition.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_internal.h3
-rw-r--r--nuttx/graphics/nxtk/nxtk_lower.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_movetoolbar.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_movewindow.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_opentoolbar.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_openwindow.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_raise.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_setposition.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_setsize.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_setsubwindows.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_subwindowclip.c3
-rw-r--r--nuttx/graphics/nxtk/nxtk_subwindowmove.c3
23 files changed, 35 insertions, 54 deletions
diff --git a/nuttx/graphics/nxtk/nxtk_bitmaptoolbar.c b/nuttx/graphics/nxtk/nxtk_bitmaptoolbar.c
index 4e3aa2e9c..69d1badf4 100644
--- a/nuttx/graphics/nxtk/nxtk_bitmaptoolbar.c
+++ b/nuttx/graphics/nxtk/nxtk_bitmaptoolbar.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_bitmaptoolbar.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_bitmapwindow.c b/nuttx/graphics/nxtk/nxtk_bitmapwindow.c
index c923ed964..27c364b63 100644
--- a/nuttx/graphics/nxtk/nxtk_bitmapwindow.c
+++ b/nuttx/graphics/nxtk/nxtk_bitmapwindow.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_bitmapwindow.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_closetoolbar.c b/nuttx/graphics/nxtk/nxtk_closetoolbar.c
index e7557aeba..eaaef83e7 100644
--- a/nuttx/graphics/nxtk/nxtk_closetoolbar.c
+++ b/nuttx/graphics/nxtk/nxtk_closetoolbar.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_closetoolbar.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_containerclip.c b/nuttx/graphics/nxtk/nxtk_containerclip.c
index 0538cc31e..386425de3 100644
--- a/nuttx/graphics/nxtk/nxtk_containerclip.c
+++ b/nuttx/graphics/nxtk/nxtk_containerclip.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_containerclip.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_drawframe.c b/nuttx/graphics/nxtk/nxtk_drawframe.c
index 53f6c2831..d86d55312 100644
--- a/nuttx/graphics/nxtk/nxtk_drawframe.c
+++ b/nuttx/graphics/nxtk/nxtk_drawframe.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_drawframe.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_events.c b/nuttx/graphics/nxtk/nxtk_events.c
index 52323a751..45ab1e8a5 100644
--- a/nuttx/graphics/nxtk/nxtk_events.c
+++ b/nuttx/graphics/nxtk/nxtk_events.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_events.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,8 @@
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdint.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <semaphore.h>
#include <debug.h>
@@ -62,17 +63,18 @@
****************************************************************************/
static void nxtk_redraw(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
- boolean morem, FAR void *arg);
+ bool morem, FAR void *arg);
static void nxtk_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size,
FAR const struct nxgl_point_s *pos,
FAR const struct nxgl_rect_s *bounds,
FAR void *arg);
#ifdef CONFIG_NX_MOUSE
static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
- ubyte buttons, FAR void *arg);
+ uint8_t buttons, FAR void *arg);
#endif
#ifdef CONFIG_NX_KBD
-static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg);
+static void nxtk_kbdin(NXWINDOW hwnd, uint8_t nch, const uint8_t *ch,
+ FAR void *arg);
#endif
/****************************************************************************
@@ -104,7 +106,7 @@ const struct nx_callback_s g_nxtkcb =
****************************************************************************/
static void nxtk_redraw(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
- boolean more, FAR void *arg)
+ bool more, FAR void *arg)
{
FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)hwnd;
struct nxgl_rect_s intersection;
@@ -135,7 +137,7 @@ static void nxtk_redraw(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
if (!nxgl_nullrect(&intersection))
{
- fwnd->fwcb->redraw((NXTKWINDOW)fwnd, &intersection, FALSE, fwnd->fwarg);
+ fwnd->fwcb->redraw((NXTKWINDOW)fwnd, &intersection, false, fwnd->fwarg);
}
}
@@ -158,7 +160,7 @@ static void nxtk_redraw(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
if (!nxgl_nullrect(&intersection))
{
- fwnd->tbcb->redraw((NXTKWINDOW)fwnd, &intersection, FALSE, fwnd->tbarg);
+ fwnd->tbcb->redraw((NXTKWINDOW)fwnd, &intersection, false, fwnd->tbarg);
}
}
@@ -212,7 +214,7 @@ static void nxtk_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size,
#ifdef CONFIG_NX_MOUSE
static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
- ubyte buttons, FAR void *arg)
+ uint8_t buttons, FAR void *arg)
{
FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)hwnd;
struct nxgl_point_s relpos;
@@ -252,7 +254,8 @@ static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
****************************************************************************/
#ifdef CONFIG_NX_KBD
-static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg)
+static void nxtk_kbdin(NXWINDOW hwnd, uint8_t nch, const uint8_t *ch,
+ FAR void *arg)
{
FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)hwnd;
diff --git a/nuttx/graphics/nxtk/nxtk_filltoolbar.c b/nuttx/graphics/nxtk/nxtk_filltoolbar.c
index 946cfd076..f151876ec 100644
--- a/nuttx/graphics/nxtk/nxtk_filltoolbar.c
+++ b/nuttx/graphics/nxtk/nxtk_filltoolbar.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_filltoolbar.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_filltraptoolbar.c b/nuttx/graphics/nxtk/nxtk_filltraptoolbar.c
index 03e9c749c..d3362fa6f 100644
--- a/nuttx/graphics/nxtk/nxtk_filltraptoolbar.c
+++ b/nuttx/graphics/nxtk/nxtk_filltraptoolbar.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_filltraptoolbar.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_filltrapwindow.c b/nuttx/graphics/nxtk/nxtk_filltrapwindow.c
index 02e86e9b7..a489364c4 100644
--- a/nuttx/graphics/nxtk/nxtk_filltrapwindow.c
+++ b/nuttx/graphics/nxtk/nxtk_filltrapwindow.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_filltrapwindow.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_fillwindow.c b/nuttx/graphics/nxtk/nxtk_fillwindow.c
index f8a645302..fe0b1c8d4 100644
--- a/nuttx/graphics/nxtk/nxtk_fillwindow.c
+++ b/nuttx/graphics/nxtk/nxtk_fillwindow.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_fillwindow.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_getposition.c b/nuttx/graphics/nxtk/nxtk_getposition.c
index ec5231c0d..24ca26b70 100644
--- a/nuttx/graphics/nxtk/nxtk_getposition.c
+++ b/nuttx/graphics/nxtk/nxtk_getposition.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_getposition.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_internal.h b/nuttx/graphics/nxtk/nxtk_internal.h
index aee0fa6a5..b02bb94ce 100644
--- a/nuttx/graphics/nxtk/nxtk_internal.h
+++ b/nuttx/graphics/nxtk/nxtk_internal.h
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_internal.h
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,7 +41,6 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
#include <nuttx/nxtk.h>
#include "nxbe.h"
diff --git a/nuttx/graphics/nxtk/nxtk_lower.c b/nuttx/graphics/nxtk/nxtk_lower.c
index 2c66c1185..e0b59f285 100644
--- a/nuttx/graphics/nxtk/nxtk_lower.c
+++ b/nuttx/graphics/nxtk/nxtk_lower.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_lower.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_movetoolbar.c b/nuttx/graphics/nxtk/nxtk_movetoolbar.c
index 6e464c375..430e5461e 100644
--- a/nuttx/graphics/nxtk/nxtk_movetoolbar.c
+++ b/nuttx/graphics/nxtk/nxtk_movetoolbar.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_movetoolbar.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_movewindow.c b/nuttx/graphics/nxtk/nxtk_movewindow.c
index 15f3c05c6..134d1935e 100644
--- a/nuttx/graphics/nxtk/nxtk_movewindow.c
+++ b/nuttx/graphics/nxtk/nxtk_movewindow.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_movewindow.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_opentoolbar.c b/nuttx/graphics/nxtk/nxtk_opentoolbar.c
index 64525b766..e2de68226 100644
--- a/nuttx/graphics/nxtk/nxtk_opentoolbar.c
+++ b/nuttx/graphics/nxtk/nxtk_opentoolbar.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_opentoolbar.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_openwindow.c b/nuttx/graphics/nxtk/nxtk_openwindow.c
index 89b6faddc..c57918869 100644
--- a/nuttx/graphics/nxtk/nxtk_openwindow.c
+++ b/nuttx/graphics/nxtk/nxtk_openwindow.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_openwindow.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_raise.c b/nuttx/graphics/nxtk/nxtk_raise.c
index f435c95c3..33c22b722 100644
--- a/nuttx/graphics/nxtk/nxtk_raise.c
+++ b/nuttx/graphics/nxtk/nxtk_raise.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_raise.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_setposition.c b/nuttx/graphics/nxtk/nxtk_setposition.c
index 89a034f37..053f74256 100644
--- a/nuttx/graphics/nxtk/nxtk_setposition.c
+++ b/nuttx/graphics/nxtk/nxtk_setposition.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_setposition.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_setsize.c b/nuttx/graphics/nxtk/nxtk_setsize.c
index f91aa7e0e..07e9e0242 100644
--- a/nuttx/graphics/nxtk/nxtk_setsize.c
+++ b/nuttx/graphics/nxtk/nxtk_setsize.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_setsize.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_setsubwindows.c b/nuttx/graphics/nxtk/nxtk_setsubwindows.c
index 8925ebf47..5ddb2ce03 100644
--- a/nuttx/graphics/nxtk/nxtk_setsubwindows.c
+++ b/nuttx/graphics/nxtk/nxtk_setsubwindows.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_setsubwindows.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <semaphore.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_subwindowclip.c b/nuttx/graphics/nxtk/nxtk_subwindowclip.c
index e5495683c..7600074ce 100644
--- a/nuttx/graphics/nxtk/nxtk_subwindowclip.c
+++ b/nuttx/graphics/nxtk/nxtk_subwindowclip.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_subwindowclip.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/graphics/nxtk/nxtk_subwindowmove.c b/nuttx/graphics/nxtk/nxtk_subwindowmove.c
index 8408465d2..f532c6675 100644
--- a/nuttx/graphics/nxtk/nxtk_subwindowmove.c
+++ b/nuttx/graphics/nxtk/nxtk_subwindowmove.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxtk/nxtk_subwindowmove.c
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,6 @@
#include <nuttx/config.h>
-#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <debug.h>