ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] prefs.h - missing WS_DLL_PUBLIC

From: chuck c <bubbasnmp@xxxxxxxxx>
Date: Sat, 10 Jul 2021 12:44:28 -0500
Export libwireshark symbols using WS_DLL_PUBLIC define

(Fingers crossed gitlab link works): epan/prefs.h

- extern module_t *prefs_register_protocol_obsolete(int id);
+ module_t *prefs_register_protocol_obsolete(int id);

Adding WS_DLL_PUBLIC to the line above fixes a link issue for the ethercat plugin.

Were the other cases, where "extern" was removed without adding WS_DLL_PUBLIC back in, done by design or were they missed and should be corrected?