summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_interruptcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sim/src/up_interruptcontext.c')
-rw-r--r--nuttx/arch/sim/src/up_interruptcontext.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/nuttx/arch/sim/src/up_interruptcontext.c b/nuttx/arch/sim/src/up_interruptcontext.c
index c9f32c5b8..8c211fc47 100644
--- a/nuttx/arch/sim/src/up_interruptcontext.c
+++ b/nuttx/arch/sim/src/up_interruptcontext.c
@@ -1,7 +1,7 @@
/****************************************************************************
* up_interruptcontext.c
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -38,7 +38,8 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
+
+#include <stdbool.h>
#include <nuttx/arch.h>
#include "up_internal.h"
@@ -62,13 +63,14 @@
* Name: up_interrupt_context
*
* Description:
- * Return TRUE is we are currently executing in
- * the interrupt handler context.
+ * Return true is we are currently executing in the interrupt handler
+ * context.
+ *
****************************************************************************/
-boolean up_interrupt_context(void)
+bool up_interrupt_context(void)
{
/* The simulation is never in the interrupt state */
- return FALSE;
+ return false;
}