[PATCH 48/54] m32c/m32csim/timer/timer.c: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 13 15:37:32 UTC 2014


---
 c/src/lib/libbsp/m32c/m32cbsp/timer/timer.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/m32c/m32cbsp/timer/timer.c b/c/src/lib/libbsp/m32c/m32cbsp/timer/timer.c
index 0b5aa99..a27d9ff 100644
--- a/c/src/lib/libbsp/m32c/m32cbsp/timer/timer.c
+++ b/c/src/lib/libbsp/m32c/m32cbsp/timer/timer.c
@@ -1,7 +1,9 @@
 /*
  *  This file implements a stub benchmark timer that is sufficient to
  *  satisfy linking the RTEMS Benchmarks.
- *
+ */
+
+/*
  *  COPYRIGHT (c) 1989-2001.
  *  On-Line Applications Research Corporation (OAR).
  */
@@ -21,6 +23,8 @@ uint32_t benchmark_timer_overhead = 10;
 
 static int benchmark_timer_interrupts;
 
+static void __attribute__((interrupt)) timer_ra_interrupt(void);
+
 #define ivec_timer_a0 12
 
 void __attribute__((interrupt))
-- 
1.9.3




More information about the devel mailing list