Commit 539ecfa5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warnings

parent 933e99f2
...@@ -83,13 +83,11 @@ ...@@ -83,13 +83,11 @@
* instance the module name, its shortcuts, its capabilities... we also create * instance the module name, its shortcuts, its capabilities... we also create
* a copy of its config because the module can be unloaded at any time. * a copy of its config because the module can be unloaded at any time.
*/ */
#if defined (__PLUGIN__) || defined (__BUILTIN__)
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL
E_(vlc_entry) ( module_t *p_module );
#endif
#define vlc_module_begin( ) \ #define vlc_module_begin( ) \
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \ EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
E_(vlc_entry) ( module_t *p_module ); \
\
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
__VLC_SYMBOL(vlc_entry) ( module_t *p_module ) \ __VLC_SYMBOL(vlc_entry) ( module_t *p_module ) \
{ \ { \
module_config_t *p_config = NULL; \ module_config_t *p_config = NULL; \
...@@ -451,6 +449,8 @@ enum vlc_config_properties ...@@ -451,6 +449,8 @@ enum vlc_config_properties
/* Meta data plugin exports */ /* Meta data plugin exports */
#define VLC_META_EXPORT( name, value ) \ #define VLC_META_EXPORT( name, value ) \
EXTERN_SYMBOL DLL_SYMBOL const char * CDECL_SYMBOL \
E_(vlc_entry_ ## name) (void); \
EXTERN_SYMBOL DLL_SYMBOL const char * CDECL_SYMBOL \ EXTERN_SYMBOL DLL_SYMBOL const char * CDECL_SYMBOL \
__VLC_SYMBOL(vlc_entry_ ## name) (void) \ __VLC_SYMBOL(vlc_entry_ ## name) (void) \
{ \ { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment