diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-12 16:05:01 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-13 10:33:34 -0500 |
commit | 99a7f55045b3612e6aa1404d0d868e7d4683abfd (patch) | |
tree | b08c5042ab602dc2cda3c55b4760b1c80e995145 /c/src/lib/libbsp/m32c | |
parent | libbsp/i386/shared/comm: Fix warnings (diff) | |
download | rtems-99a7f55045b3612e6aa1404d0d868e7d4683abfd.tar.bz2 |
m32c/m32csim/timer/timer.c: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/m32c')
-rw-r--r-- | 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 0b5aa997ec..a27d9ffb1b 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)) |