[rtems commit] cpukit/score/cpu/lm32/irq.c: Fix warning

Joel Sherrill joel at rtems.org
Tue Oct 21 14:36:31 UTC 2014


Module:    rtems
Branch:    master
Commit:    0e74a51ebb6fb2642ec2a050857a65a6b0c480f4
Changeset: http://git.rtems.org/rtems/commit/?id=0e74a51ebb6fb2642ec2a050857a65a6b0c480f4

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Oct 19 21:46:06 2014 -0500

cpukit/score/cpu/lm32/irq.c: Fix warning

---

 cpukit/score/cpu/lm32/irq.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/cpukit/score/cpu/lm32/irq.c b/cpukit/score/cpu/lm32/irq.c
index 5ea3b04..1c50b11 100644
--- a/cpukit/score/cpu/lm32/irq.c
+++ b/cpukit/score/cpu/lm32/irq.c
@@ -29,6 +29,12 @@ void *_exception_stack_frame;
 
 register unsigned long  *stack_ptr __asm__ ("sp");
 
+/*
+ *  Prototypes for routines called from assembly that we don't want in
+ *  the public name space.
+ */
+void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr);
+
 void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr)
 {
   register uint32_t   level;



More information about the vc mailing list