diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 14:38:33 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 14:38:33 +0000 |
commit | 5e50f40f37be6fd057b050e75aa2f4dcc9529b3c (patch) | |
tree | 2d7879282e98a0cab12bc282e900f2c050010b34 /nuttx/arch/z16/src/common/up_blocktask.c | |
parent | 03a31e4a728883bf41bd6712d38dae413a9a41bc (diff) | |
download | px4-nuttx-5e50f40f37be6fd057b050e75aa2f4dcc9529b3c.tar.gz px4-nuttx-5e50f40f37be6fd057b050e75aa2f4dcc9529b3c.tar.bz2 px4-nuttx-5e50f40f37be6fd057b050e75aa2f4dcc9529b3c.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2355 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16/src/common/up_blocktask.c')
-rw-r--r-- | nuttx/arch/z16/src/common/up_blocktask.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/z16/src/common/up_blocktask.c b/nuttx/arch/z16/src/common/up_blocktask.c index 806c91d41..015ebed3a 100644 --- a/nuttx/arch/z16/src/common/up_blocktask.c +++ b/nuttx/arch/z16/src/common/up_blocktask.c @@ -1,7 +1,7 @@ /**************************************************************************** * common/up_blocktask.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-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 <sched.h> #include <debug.h> @@ -96,7 +96,7 @@ void up_block_task(FAR _TCB *tcb, tstate_t task_state) else { FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; - boolean switch_needed; + bool switch_needed; /* dbg("Blocking TCB=%p\n", tcb); */ |