summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen5200
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-08-10 08:19:40 -0500
committerJoel Sherrill <joel@rtems.org>2018-08-10 08:24:27 -0500
commitec8c955d3e54c49d51f035abad85fade99fe2433 (patch)
tree3f11f607369799a541bf9367009e9b95a26701ca /bsps/powerpc/gen5200
parentgen5200/include/bsp/ata.h: Fix warning (diff)
downloadrtems-ec8c955d3e54c49d51f035abad85fade99fe2433.tar.bz2
gen5200/include/tm27.h: Fix prototype warning
Diffstat (limited to 'bsps/powerpc/gen5200')
-rw-r--r--bsps/powerpc/gen5200/include/tm27.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsps/powerpc/gen5200/include/tm27.h b/bsps/powerpc/gen5200/include/tm27.h
index ff43cc9ab6..583aaa42bd 100644
--- a/bsps/powerpc/gen5200/include/tm27.h
+++ b/bsps/powerpc/gen5200/include/tm27.h
@@ -26,14 +26,14 @@
#define MUST_WAIT_FOR_INTERRUPT 1
-void nullFunc() {}
+void nullFunc(void) {}
static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
0,
- (rtems_irq_enable)nullFunc,
- (rtems_irq_disable)nullFunc,
+ (rtems_irq_enable) nullFunc,
+ (rtems_irq_disable) nullFunc,
(rtems_irq_is_enabled) nullFunc};
-void Install_tm27_vector(void (*_handler)())
+static void Install_tm27_vector(void (*_handler)(void))
{
clockIrqData.hdl = _handler;
if (!BSP_install_rtems_irq_handler (&clockIrqData)) {