diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-08 17:29:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-08 17:29:14 +0000 |
commit | fcc00d9c2374d836eef9d2262221b1334e9d53d8 (patch) | |
tree | 16d56d59a88122b71b435756e35fd86cb0d3964a | |
parent | fdff6f72c79c94c49acc350bda4ccb84371ed9fd (diff) | |
download | nuttx-fcc00d9c2374d836eef9d2262221b1334e9d53d8.tar.gz nuttx-fcc00d9c2374d836eef9d2262221b1334e9d53d8.tar.bz2 nuttx-fcc00d9c2374d836eef9d2262221b1334e9d53d8.zip |
Fix prototype problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1171 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/sh/src/common/up_doirq.c | 2 | ||||
-rw-r--r-- | nuttx/arch/sh/src/common/up_internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sh/src/common/up_doirq.c b/nuttx/arch/sh/src/common/up_doirq.c index 2c3943b06..aa938be18 100644 --- a/nuttx/arch/sh/src/common/up_doirq.c +++ b/nuttx/arch/sh/src/common/up_doirq.c @@ -66,7 +66,7 @@ * Public Functions ****************************************************************************/ -void up_doirq(int irq, uint32* regs) +uint32 *up_doirq(int irq, uint32* regs) { up_ledon(LED_INIRQ); #ifdef CONFIG_SUPPRESS_INTERRUPTS diff --git a/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h index 8cb3ee2dd..c1debc9fe 100644 --- a/nuttx/arch/sh/src/common/up_internal.h +++ b/nuttx/arch/sh/src/common/up_internal.h @@ -122,7 +122,7 @@ extern void up_boot(void); extern void up_copystate(uint32 *dest, uint32 *src); extern void up_dataabort(uint32 *regs); extern void up_decodeirq(uint32 *regs); -extern void up_doirq(int irq, uint32 *regs); +extern uint32 *up_doirq(int irq, uint32 *regs); extern void up_fullcontextrestore(uint32 *regs) __attribute__ ((noreturn)); extern void up_irqinitialize(void); extern void up_prefetchabort(uint32 *regs); |