diff options
author | Joel Sherrill <joel@rtems.org> | 2018-08-29 12:39:01 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-08-29 12:52:11 -0500 |
commit | a8d3f10f6fe8548bc75bc1747c51ee1774f9996a (patch) | |
tree | db965f92c308356499d719433cbf2f275a8338cc /bsps | |
parent | uC5282/clock/clock.c: Correct bsp_idle_thread() prototype (diff) | |
download | rtems-a8d3f10f6fe8548bc75bc1747c51ee1774f9996a.tar.bz2 |
mvme5500/include/tm27.h: Fix not a prototype warnings
Diffstat (limited to 'bsps')
-rw-r--r-- | bsps/powerpc/mvme5500/include/tm27.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/powerpc/mvme5500/include/tm27.h b/bsps/powerpc/mvme5500/include/tm27.h index 2a80618cfb..bf255aeb79 100644 --- a/bsps/powerpc/mvme5500/include/tm27.h +++ b/bsps/powerpc/mvme5500/include/tm27.h @@ -25,14 +25,14 @@ #define MUST_WAIT_FOR_INTERRUPT 1 -void nullFunc() {} +static void nullFunc(void) {} static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER, 0, (rtems_irq_enable)nullFunc, (rtems_irq_disable)nullFunc, (rtems_irq_is_enabled) nullFunc}; -void Install_tm27_vector(void (*_handler)()) +RTEMS_INLINE_ROUTINE void Install_tm27_vector(void (*_handler)()) { clockIrqData.hdl = _handler; if (!BSP_install_rtems_irq_handler (&clockIrqData)) { |