From 313eb5bb780f9e9baa353651996b51ce33a85fca Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 14 Dec 2009 21:15:18 +0000 Subject: Switching to C99 stdbool.h types git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2339 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/sem_open.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nuttx/sched/sem_open.c') diff --git a/nuttx/sched/sem_open.c b/nuttx/sched/sem_open.c index aeb5097eb..cd9ca6129 100644 --- a/nuttx/sched/sem_open.c +++ b/nuttx/sched/sem_open.c @@ -37,7 +37,10 @@ * Included Files ****************************************************************************/ +#include + #include +#include #include #include #include @@ -48,7 +51,7 @@ #include "sem_internal.h" /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /**************************************************************************** @@ -178,7 +181,7 @@ FAR sem_t *sem_open (FAR const char *name, int oflag, ...) sem_init(sem, 0, value); psem->nconnect = 1; - psem->unlinked = FALSE; + psem->unlinked = false; psem->name = (FAR char*)psem + sizeof(nsem_t); strcpy(psem->name, name); -- cgit v1.2.3