From a8d0d9dc531251332b96cbfee38a112ca0fba088 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 Jul 2025 09:32:31 -0500 Subject: [PATCH] bsps/powerpc/ss555/include/tm27.h: Fix nested declaration warning The macro Install_tm27_vector() included an extern for tm27IrqData inside the scope of the macro. This generated a "nested extern declaration warning. Moved the extern outside the scope. --- bsps/powerpc/ss555/include/tm27.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsps/powerpc/ss555/include/tm27.h b/bsps/powerpc/ss555/include/tm27.h index 37e5ce0a6c..03e993570d 100644 --- a/bsps/powerpc/ss555/include/tm27.h +++ b/bsps/powerpc/ss555/include/tm27.h @@ -26,9 +26,10 @@ #define MUST_WAIT_FOR_INTERRUPT 1 +extern rtems_irq_connect_data tm27IrqData; + #define Install_tm27_vector( handler ) \ { \ - extern rtems_irq_connect_data tm27IrqData; \ usiu.siel |= (1 << 17); \ usiu.sipend |= (1 << 17); \ \