X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_modules_macros.h;h=426352f0a361fa7375f1f7e1235783e96f1ddcee;hb=2067e26ab4694f2562742b19cd8e93493274ba46;hp=fccda313e5adb49355cc30f8a7d967b550527174;hpb=3ca1fe82ca224cd14ec194ad83f6a424dd1a8500;p=vlc diff --git a/include/vlc_modules_macros.h b/include/vlc_modules_macros.h index fccda313e5..426352f0a3 100644 --- a/include/vlc_modules_macros.h +++ b/include/vlc_modules_macros.h @@ -35,8 +35,8 @@ /** * Current plugin ABI version */ -# define MODULE_SYMBOL 0_9_0e -# define MODULE_SUFFIX "__0_9_0e" +# define MODULE_SYMBOL 0_9_0h +# define MODULE_SUFFIX "__0_9_0h" /***************************************************************************** * Add a few defines. You do not want to read this section. Really. @@ -73,7 +73,7 @@ #if defined( __PLUGIN__ ) && ( defined( WIN32 ) || defined( UNDER_CE ) ) # define DLL_SYMBOL __declspec(dllexport) # define CDECL_SYMBOL __cdecl -#elif HAVE_ATTRIBUTE_VISIBILITY +#elif defined (HAVE_ATTRIBUTE_VISIBILITY) # define DLL_SYMBOL __attribute__((visibility("default"))) # define CDECL_SYMBOL #else @@ -110,7 +110,6 @@ E_(vlc_entry) ( module_t *p_module ); EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \ __VLC_SYMBOL(vlc_entry) ( module_t *p_module ) \ { \ - int res; \ module_config_t *p_config = NULL; \ if (vlc_module_set (p_module, VLC_MODULE_NAME, \ (void *)(MODULE_STRING))) \ @@ -120,6 +119,7 @@ E_(vlc_entry) ( module_t *p_module ); #define vlc_module_end( ) \ } \ + (void)p_config; \ return VLC_SUCCESS; \ \ error: \