Commit 01996d27 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix declaration of sout_AnnounceSessionCreate

parent 813e982a
......@@ -339,7 +339,7 @@ VLC_EXPORT( int, sout_AnnounceRegister, (sout_instance_t *,sessio
VLC_EXPORT(session_descriptor_t*,sout_AnnounceRegisterSDP, (sout_instance_t *,char *, announce_method_t* ) );
VLC_EXPORT( int, sout_AnnounceUnRegister, (sout_instance_t *,session_descriptor_t* ) );
VLC_EXPORT(session_descriptor_t*,sout_AnnounceSessionCreate, () );
VLC_EXPORT(session_descriptor_t*,sout_AnnounceSessionCreate, (void) );
VLC_EXPORT(void, sout_AnnounceSessionDestroy, (session_descriptor_t *) );
VLC_EXPORT(announce_method_t*, sout_AnnounceMethodCreate, (int) );
......
......@@ -128,6 +128,7 @@ struct module_symbols_t
int (*sout_AnnounceRegister_inner) (sout_instance_t *,session_descriptor_t*, announce_method_t*);
session_descriptor_t* (*sout_AnnounceRegisterSDP_inner) (sout_instance_t *,char *, announce_method_t*);
int (*sout_AnnounceUnRegister_inner) (sout_instance_t *,session_descriptor_t*);
session_descriptor_t* (*sout_AnnounceSessionCreate_inner) (void);
void (*sout_AnnounceSessionDestroy_inner) (session_descriptor_t *);
announce_method_t* (*sout_AnnounceMethodCreate_inner) (int);
int (*__var_Create_inner) (vlc_object_t *, const char *, int);
......@@ -487,6 +488,7 @@ struct module_symbols_t
# define sout_AnnounceRegister (p_symbols)->sout_AnnounceRegister_inner
# define sout_AnnounceRegisterSDP (p_symbols)->sout_AnnounceRegisterSDP_inner
# define sout_AnnounceUnRegister (p_symbols)->sout_AnnounceUnRegister_inner
# define sout_AnnounceSessionCreate (p_symbols)->sout_AnnounceSessionCreate_inner
# define sout_AnnounceSessionDestroy (p_symbols)->sout_AnnounceSessionDestroy_inner
# define sout_AnnounceMethodCreate (p_symbols)->sout_AnnounceMethodCreate_inner
# define __var_Create (p_symbols)->__var_Create_inner
......@@ -849,6 +851,7 @@ struct module_symbols_t
((p_symbols)->sout_AnnounceRegister_inner) = sout_AnnounceRegister; \
((p_symbols)->sout_AnnounceRegisterSDP_inner) = sout_AnnounceRegisterSDP; \
((p_symbols)->sout_AnnounceUnRegister_inner) = sout_AnnounceUnRegister; \
((p_symbols)->sout_AnnounceSessionCreate_inner) = sout_AnnounceSessionCreate; \
((p_symbols)->sout_AnnounceSessionDestroy_inner) = sout_AnnounceSessionDestroy; \
((p_symbols)->sout_AnnounceMethodCreate_inner) = sout_AnnounceMethodCreate; \
((p_symbols)->__var_Create_inner) = __var_Create; \
......
......@@ -151,7 +151,7 @@ int sout_AnnounceUnRegister( sout_instance_t *p_sout,
*
* \return a new session descriptor
*/
session_descriptor_t * sout_AnnounceSessionCreate()
session_descriptor_t * sout_AnnounceSessionCreate(void)
{
session_descriptor_t *p_session;
......
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