diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 21:15:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 21:15:18 +0000 |
commit | 313eb5bb780f9e9baa353651996b51ce33a85fca (patch) | |
tree | 2bd68d26bb0f4b17186f7b7cdb26f0f5c02932fd /nuttx/sched/env_findvar.c | |
parent | 33d20a1c87eb7cae586cc0d444729eda6c46e723 (diff) | |
download | px4-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/env_findvar.c')
-rw-r--r-- | nuttx/sched/env_findvar.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/sched/env_findvar.c b/nuttx/sched/env_findvar.c index 2ed10aede..b789a101d 100644 --- a/nuttx/sched/env_findvar.c +++ b/nuttx/sched/env_findvar.c @@ -41,6 +41,7 @@ #ifndef CONFIG_DISABLE_ENVIRON +#include <stdbool.h> #include <string.h> #include <sched.h> @@ -56,7 +57,7 @@ * Function: env_cmpname ****************************************************************************/ -static boolean env_cmpname(const char *pszname, const char *peqname) +static bool env_cmpname(const char *pszname, const char *peqname) { /* Search until we find anything different in the two names */ @@ -66,9 +67,9 @@ static boolean env_cmpname(const char *pszname, const char *peqname) if ( *pszname == '\0' && *peqname == '=' ) { - return TRUE; + return true; } - return FALSE; + return false; } /**************************************************************************** |