On Mon, 22 Apr 2024 17:24:43 +0200 Morten Brørup <m...@smartsharesystems.com> wrote:
> #define RTE_LOG_REGISTER_IMPL(type, name, level) \ > - int type; \ > + extern int type; > \ > RTE_INIT(__##type) \ > { \ > type = rte_log_register_type_and_pick_level(name, RTE_LOG_##level); \ > if (type < 0) \ > type = RTE_LOGTYPE_EAL; \ > } \ > + int type Not all logtypes can/should be extern.