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

Declare extern vlc_symbol_... explicitly

parent 46f5a8a5
......@@ -92,6 +92,11 @@
* 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.
*/
#if defined (__PLUGIN__) || defined (__BUILTIN__)
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL
E_(vlc_entry) ( module_t *p_module );
#endif
#define vlc_module_begin( ) \
DECLARE_SYMBOLS; \
EXTERN_SYMBOL DLL_SYMBOL int CDECL_SYMBOL \
......
......@@ -58,7 +58,6 @@
#endif
#include "vlc_config.h"
#include "modules_inner.h"
/*****************************************************************************
* Required system headers
......@@ -460,6 +459,9 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
/*****************************************************************************
* Plug-in stuff
*****************************************************************************/
#include "modules_inner.h"
#if !defined (__PLUGIN__) || defined (HAVE_SHARED_LIBVLC)
# ifdef __cplusplus
# define VLC_EXPORT( type, name, args ) extern "C" type name args
......
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