mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 01:25:17 +08:00
Fix RTEMS_LINKER_ROSET_ITEM_ORDERED_DECLARE()
Add "extern" similar to RTEMS_LINKER_RWSET_ITEM_ORDERED_DECLARE(). Close #4221.
This commit is contained in:
@@ -38,7 +38,7 @@ extern "C" {
|
||||
RTEMS_SECTION( ".rtemsroset." #set ".end" ) RTEMS_USED
|
||||
|
||||
#define RTEMS_LINKER_ROSET_ITEM_ORDERED_DECLARE( set, type, item, order ) \
|
||||
type const _Linker_set_##set##_##item \
|
||||
extern type const _Linker_set_##set##_##item \
|
||||
RTEMS_SECTION( ".rtemsroset." #set ".content.0." RTEMS_XSTRING( order ) )
|
||||
|
||||
#define RTEMS_LINKER_ROSET_ITEM_DECLARE( set, type, item ) \
|
||||
|
||||
Reference in New Issue
Block a user