summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_timedreceive.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 21:15:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 21:15:18 +0000
commit313eb5bb780f9e9baa353651996b51ce33a85fca (patch)
tree2bd68d26bb0f4b17186f7b7cdb26f0f5c02932fd /nuttx/sched/mq_timedreceive.c
parent33d20a1c87eb7cae586cc0d444729eda6c46e723 (diff)
downloadpx4-nuttx-313eb5bb780f9e9baa353651996b51ce33a85fca.tar.gz
px4-nuttx-313eb5bb780f9e9baa353651996b51ce33a85fca.tar.bz2
px4-nuttx-313eb5bb780f9e9baa353651996b51ce33a85fca.zip
Switching to C99 stdbool.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2339 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_timedreceive.c')
-rw-r--r--nuttx/sched/mq_timedreceive.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/sched/mq_timedreceive.c b/nuttx/sched/mq_timedreceive.c
index a13a8a632..1100331eb 100644
--- a/nuttx/sched/mq_timedreceive.c
+++ b/nuttx/sched/mq_timedreceive.c
@@ -41,6 +41,7 @@
#include <sys/types.h>
#include <stdint.h>
+#include <stdbool.h>
#include <unistd.h>
#include <errno.h>
#include <mqueue.h>
@@ -53,7 +54,7 @@
#include "mq_internal.h"
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/****************************************************************************
@@ -196,7 +197,7 @@ ssize_t mq_timedreceive(mqd_t mqdes, void *msg, size_t msglen,
irqstate_t saved_state;
int ret = ERROR;
- DEBUGASSERT(up_interrupt_context() == FALSE);
+ DEBUGASSERT(up_interrupt_context() == false);
/* Verify the input parameters and, in case of an error, set
* errno appropriately.