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

Rename linked_with_a_crap_library_which_uses_atexit()

In several cases, it is not used because of atexit().
parent bc27ea6b
...@@ -226,7 +226,7 @@ enum vlc_module_properties ...@@ -226,7 +226,7 @@ enum vlc_module_properties
|| vlc_module_set (p_submodule, VLC_MODULE_CB_CLOSE, deactivate)) \ || vlc_module_set (p_submodule, VLC_MODULE_CB_CLOSE, deactivate)) \
goto error; goto error;
#define linked_with_a_crap_library_which_uses_atexit( ) \ #define cannot_unload_broken_library( ) \
if (vlc_module_set (p_submodule, VLC_MODULE_NO_UNLOAD)) \ if (vlc_module_set (p_submodule, VLC_MODULE_NO_UNLOAD)) \
goto error; goto error;
......
...@@ -105,7 +105,7 @@ vlc_module_begin () ...@@ -105,7 +105,7 @@ vlc_module_begin ()
set_callbacks( OpenIntf, CloseIntf ) set_callbacks( OpenIntf, CloseIntf )
set_category( CAT_INTERFACE ) set_category( CAT_INTERFACE )
set_subcategory( SUBCAT_INTERFACE_MAIN ) set_subcategory( SUBCAT_INTERFACE_MAIN )
linked_with_a_crap_library_which_uses_atexit( ) cannot_unload_broken_library( )
add_bool( "macosx-autoplay", true, NULL, AUTOPLAY_OSX_TEST, AUTOPLAY_OSX_LONGTEXT, add_bool( "macosx-autoplay", true, NULL, AUTOPLAY_OSX_TEST, AUTOPLAY_OSX_LONGTEXT,
false ) false )
add_bool( "macosx-recentitems", true, NULL, RECENT_ITEMS_TEXT, RECENT_ITEMS_LONGTEXT, add_bool( "macosx-recentitems", true, NULL, RECENT_ITEMS_TEXT, RECENT_ITEMS_LONGTEXT,
......
...@@ -239,7 +239,7 @@ vlc_module_begin () ...@@ -239,7 +239,7 @@ vlc_module_begin ()
add_obsolete_integer( "qt-display-mode" ) /* Suppressed since 1.1.0 */ add_obsolete_integer( "qt-display-mode" ) /* Suppressed since 1.1.0 */
#ifdef WIN32 #ifdef WIN32
linked_with_a_crap_library_which_uses_atexit() cannot_unload_broken_library()
#endif #endif
add_submodule () add_submodule ()
......
...@@ -47,7 +47,7 @@ vlc_module_begin () ...@@ -47,7 +47,7 @@ vlc_module_begin ()
set_callbacks( Open, Close ) set_callbacks( Open, Close )
#ifdef WIN32 #ifdef WIN32
linked_with_a_crap_library_which_uses_atexit() cannot_unload_broken_library()
#endif #endif
vlc_module_end () vlc_module_end ()
......
...@@ -47,7 +47,7 @@ vlc_module_begin() ...@@ -47,7 +47,7 @@ vlc_module_begin()
set_subcategory( SUBCAT_PLAYLIST_SD ) set_subcategory( SUBCAT_PLAYLIST_SD )
set_capability( "services_discovery", 0 ) set_capability( "services_discovery", 0 )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
linked_with_a_crap_library_which_uses_atexit() cannot_unload_broken_library()
VLC_SD_PROBE_SUBMODULE VLC_SD_PROBE_SUBMODULE
vlc_module_end() vlc_module_end()
......
...@@ -74,7 +74,7 @@ vlc_module_begin () ...@@ -74,7 +74,7 @@ vlc_module_begin ()
set_callbacks(OpenVideoXP, Close) set_callbacks(OpenVideoXP, Close)
/* FIXME: Hack to avoid unregistering our window class */ /* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit() cannot_unload_broken_library()
add_submodule() add_submodule()
set_capability("vout display", 150) set_capability("vout display", 150)
......
...@@ -116,7 +116,7 @@ vlc_module_begin() ...@@ -116,7 +116,7 @@ vlc_module_begin()
set_callbacks(Open, Close) set_callbacks(Open, Close)
/* FIXME: Hack to avoid unregistering our window class */ /* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit() cannot_unload_broken_library()
vlc_module_end() vlc_module_end()
#if 0 /* FIXME */ #if 0 /* FIXME */
......
...@@ -59,7 +59,7 @@ vlc_module_begin() ...@@ -59,7 +59,7 @@ vlc_module_begin()
set_callbacks(Open, Close) set_callbacks(Open, Close)
/* FIXME: Hack to avoid unregistering our window class */ /* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit () cannot_unload_broken_library ()
vlc_module_end() vlc_module_end()
#if 0 /* FIXME */ #if 0 /* FIXME */
......
...@@ -69,7 +69,7 @@ vlc_module_begin() ...@@ -69,7 +69,7 @@ vlc_module_begin()
set_callbacks(Open, Close) set_callbacks(Open, Close)
#if defined(__i386__) || defined(__x86_64__) #if defined(__i386__) || defined(__x86_64__)
/* On i386, SDL is linked against svgalib */ /* On i386, SDL is linked against svgalib */
linked_with_a_crap_library_which_uses_atexit() cannot_unload_broken_library()
#endif #endif
vlc_module_end() vlc_module_end()
......
...@@ -61,7 +61,7 @@ vlc_module_begin () ...@@ -61,7 +61,7 @@ vlc_module_begin ()
set_description( N_("SVGAlib video output") ) set_description( N_("SVGAlib video output") )
set_capability( "video output", 0 ) set_capability( "video output", 0 )
set_callbacks( Create, Destroy ) set_callbacks( Create, Destroy )
linked_with_a_crap_library_which_uses_atexit () cannot_unload_broken_library () /* SVGAlib uses atexit() */
vlc_module_end () vlc_module_end ()
/***************************************************************************** /*****************************************************************************
......
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