summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxsu/nx_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxsu/nx_open.c')
-rw-r--r--nuttx/graphics/nxsu/nx_open.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/graphics/nxsu/nx_open.c b/nuttx/graphics/nxsu/nx_open.c
index 901b77109..cde501f15 100644
--- a/nuttx/graphics/nxsu/nx_open.c
+++ b/nuttx/graphics/nxsu/nx_open.c
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxsu/nx_open.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,7 @@
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
@@ -62,7 +62,7 @@
static void nxsu_bkgdredraw(NXWINDOW hwnd,
FAR const struct nxgl_rect_s *rect,
- boolean more, FAR void *arg);
+ bool more, FAR void *arg);
/****************************************************************************
* Private Data
@@ -94,7 +94,7 @@ const struct nx_callback_s g_bkgdcb =
static void nxsu_bkgdredraw(NXWINDOW hwnd,
FAR const struct nxgl_rect_s *rect,
- boolean more, FAR void *arg)
+ bool more, FAR void *arg)
{
FAR struct nxbe_window_s *wnd = (FAR struct nxbe_window_s *)hwnd;
FAR struct nxbe_state_s *be = wnd->be;