[PATCH 07/10] motorola_powerpc/include/tm27.h: Fix prototype warning

Joel Sherrill joel at rtems.org
Fri Aug 10 13:27:03 UTC 2018


---
 bsps/powerpc/motorola_powerpc/include/tm27.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bsps/powerpc/motorola_powerpc/include/tm27.h b/bsps/powerpc/motorola_powerpc/include/tm27.h
index 81eb55a..4d616cb 100644
--- a/bsps/powerpc/motorola_powerpc/include/tm27.h
+++ b/bsps/powerpc/motorola_powerpc/include/tm27.h
@@ -25,13 +25,13 @@
 
 #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)) {
-- 
1.8.3.1




More information about the devel mailing list