summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/common/up_interruptcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/src/common/up_interruptcontext.c')
-rw-r--r--nuttx/arch/z80/src/common/up_interruptcontext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/z80/src/common/up_interruptcontext.c b/nuttx/arch/z80/src/common/up_interruptcontext.c
index 354227cc2..e8887abef 100644
--- a/nuttx/arch/z80/src/common/up_interruptcontext.c
+++ b/nuttx/arch/z80/src/common/up_interruptcontext.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/z80/src/common/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
@@ -39,7 +39,7 @@
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdbool.h>
#include <nuttx/arch.h>
#include <nuttx/irq.h>
@@ -62,11 +62,11 @@
/****************************************************************************
* Name: up_interrupt_context
*
- * Description: Return TRUE is we are currently executing in
+ * Description: Return true is we are currently executing in
* the interrupt handler context.
****************************************************************************/
-boolean up_interrupt_context(void)
+bool up_interrupt_context(void)
{
return IN_INTERRUPT();
}