forked from osmocom/wireshark
![]() just define WS_DLL_PUBLIC_NOEXTERN inside the ifdefs, and define WS_DLL_PUBLIC as WS_DLL_PUBLIC_NOEXTERN followed by "extern". Then rename WS_DLL_PUBLIC_NOEXTERN to WS_DLL_PUBLIC_DEF, to clarify that it's what should be used for definitions; at least on Windows, you *have* to use it when declaring arrays without a size, and, whilst you might be able to use WS_DLL_PUBLIC for definitions of functions and perhaps data definitions other than no-size arrays, it might be clearer to rename WS_DLL_PUBLIC to WS_DLL_PUBLIC_DECL and use it only for declarations. svn path=/trunk/; revision=50334 |
||
---|---|---|
.. | ||
WSDG_chapter_build_intro.xml | ||
WSDG_chapter_capture.xml | ||
WSDG_chapter_dissection.xml | ||
WSDG_chapter_env_intro.xml | ||
WSDG_chapter_libraries.xml | ||
WSDG_chapter_quick_setup.xml | ||
WSDG_chapter_sources.xml | ||
WSDG_chapter_tools.xml | ||
WSDG_chapter_userinterface.xml | ||
WSDG_chapter_works.xml | ||
WSDG_meta_info.xml | ||
WSDG_preface.xml |