forked from Imagelibrary/rtems
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:
committed by
Gedare Bloom
parent
db19f09a21
commit
a8d0d9dc53
@@ -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); \
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user