diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-09 01:22:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-09 01:22:06 +0000 |
commit | f05519407a2db99619d50ffaec2abfe66c68a8e0 (patch) | |
tree | b8d36cd088a8faefd3eb8dde2c6c6fc5d80af0fb | |
parent | 4ddac4a34e050d0a22a4510526860726c6f16183 (diff) | |
download | px4-nuttx-f05519407a2db99619d50ffaec2abfe66c68a8e0.tar.gz px4-nuttx-f05519407a2db99619d50ffaec2abfe66c68a8e0.tar.bz2 px4-nuttx-f05519407a2db99619d50ffaec2abfe66c68a8e0.zip |
Fix ZNeo compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@536 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/z16/include/z16f/irq.h | 4 | ||||
-rw-r--r-- | nuttx/include/nuttx/sched.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/z16/include/z16f/irq.h b/nuttx/arch/z16/include/z16f/irq.h index 8b718cf74..eaca0fbac 100644 --- a/nuttx/arch/z16/include/z16f/irq.h +++ b/nuttx/arch/z16/include/z16f/irq.h @@ -124,8 +124,8 @@ extern "C" { #define EXTERN extern #endif -EXTERN irqstate_t irqsave(void; -EXTERN void irqrestore(irqstate_t flags; +EXTERN irqstate_t irqsave(void); +EXTERN void irqrestore(irqstate_t flags); #undef EXTERN #ifdef __cplusplus diff --git a/nuttx/include/nuttx/sched.h b/nuttx/include/nuttx/sched.h index b08e60953..3f7d1ae10 100644 --- a/nuttx/include/nuttx/sched.h +++ b/nuttx/include/nuttx/sched.h @@ -1,7 +1,7 @@ /******************************************************************************** * sched.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -81,7 +81,7 @@ * values. */ -typedef enum tstate_e +enum tstate_e { TSTATE_TASK_INVALID = 0, /* INVALID - TCB has not yet been initialized */ |