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.
This commit is contained in:
Joel Sherrill
2025-07-11 09:32:31 -05:00
committed by Gedare Bloom
parent db19f09a21
commit a8d0d9dc53

View File

@@ -26,9 +26,10 @@
#define MUST_WAIT_FOR_INTERRUPT 1 #define MUST_WAIT_FOR_INTERRUPT 1
extern rtems_irq_connect_data tm27IrqData;
#define Install_tm27_vector( handler ) \ #define Install_tm27_vector( handler ) \
{ \ { \
extern rtems_irq_connect_data tm27IrqData; \
usiu.siel |= (1 << 17); \ usiu.siel |= (1 << 17); \
usiu.sipend |= (1 << 17); \ usiu.sipend |= (1 << 17); \
\ \