summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/cortexm3/up_blocktask.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/cortexm3/up_blocktask.c')
-rwxr-xr-xnuttx/arch/arm/src/cortexm3/up_blocktask.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/cortexm3/up_blocktask.c b/nuttx/arch/arm/src/cortexm3/up_blocktask.c
index e50019809..59d1fa04e 100755
--- a/nuttx/arch/arm/src/cortexm3/up_blocktask.c
+++ b/nuttx/arch/arm/src/cortexm3/up_blocktask.c
@@ -38,8 +38,8 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdbool.h>
#include <sched.h>
#include <debug.h>
@@ -49,7 +49,7 @@
#include "up_internal.h"
/****************************************************************************
- * Private Definitions
+ * Pre-processor Definitions
****************************************************************************/
/****************************************************************************
@@ -96,7 +96,7 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
else
{
_TCB *rtcb = (_TCB*)g_readytorun.head;
- boolean switch_needed;
+ bool switch_needed;
/* Remove the tcb task from the ready-to-run list. If we
* are blocking the task at the head of the task list (the