[rtems commit] m32c/m32csim/timer/timer.c: Fix warnings
Joel Sherrill
joel at rtems.org
Mon Oct 13 16:27:41 UTC 2014
Module: rtems
Branch: master
Commit: 99a7f55045b3612e6aa1404d0d868e7d4683abfd
Changeset: http://git.rtems.org/rtems/commit/?id=99a7f55045b3612e6aa1404d0d868e7d4683abfd
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Oct 12 16:05:01 2014 -0500
m32c/m32csim/timer/timer.c: Fix warnings
---
c/src/lib/libbsp/m32c/m32cbsp/timer/timer.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
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))
More information about the vc
mailing list