Rename linked_with_a_crap_library_which_uses_atexit()

In several cases, it is not used because of atexit().
This commit is contained in:
Rémi Denis-Courmont 2010-03-13 18:18:00 +02:00
parent bc27ea6b11
commit b63326b733
10 changed files with 10 additions and 10 deletions

View File

@ -226,7 +226,7 @@ enum vlc_module_properties
|| vlc_module_set (p_submodule, VLC_MODULE_CB_CLOSE, deactivate)) \
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)) \
goto error;

View File

@ -105,7 +105,7 @@ vlc_module_begin ()
set_callbacks( OpenIntf, CloseIntf )
set_category( CAT_INTERFACE )
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,
false )
add_bool( "macosx-recentitems", true, NULL, RECENT_ITEMS_TEXT, RECENT_ITEMS_LONGTEXT,

View File

@ -239,7 +239,7 @@ vlc_module_begin ()
add_obsolete_integer( "qt-display-mode" ) /* Suppressed since 1.1.0 */
#ifdef WIN32
linked_with_a_crap_library_which_uses_atexit()
cannot_unload_broken_library()
#endif
add_submodule ()

View File

@ -47,7 +47,7 @@ vlc_module_begin ()
set_callbacks( Open, Close )
#ifdef WIN32
linked_with_a_crap_library_which_uses_atexit()
cannot_unload_broken_library()
#endif
vlc_module_end ()

View File

@ -47,7 +47,7 @@ vlc_module_begin()
set_subcategory( SUBCAT_PLAYLIST_SD )
set_capability( "services_discovery", 0 )
set_callbacks( Open, Close )
linked_with_a_crap_library_which_uses_atexit()
cannot_unload_broken_library()
VLC_SD_PROBE_SUBMODULE
vlc_module_end()

View File

@ -74,7 +74,7 @@ vlc_module_begin ()
set_callbacks(OpenVideoXP, Close)
/* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit()
cannot_unload_broken_library()
add_submodule()
set_capability("vout display", 150)

View File

@ -116,7 +116,7 @@ vlc_module_begin()
set_callbacks(Open, Close)
/* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit()
cannot_unload_broken_library()
vlc_module_end()
#if 0 /* FIXME */

View File

@ -59,7 +59,7 @@ vlc_module_begin()
set_callbacks(Open, Close)
/* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit ()
cannot_unload_broken_library ()
vlc_module_end()
#if 0 /* FIXME */

View File

@ -69,7 +69,7 @@ vlc_module_begin()
set_callbacks(Open, Close)
#if defined(__i386__) || defined(__x86_64__)
/* On i386, SDL is linked against svgalib */
linked_with_a_crap_library_which_uses_atexit()
cannot_unload_broken_library()
#endif
vlc_module_end()

View File

@ -61,7 +61,7 @@ vlc_module_begin ()
set_description( N_("SVGAlib video output") )
set_capability( "video output", 0 )
set_callbacks( Create, Destroy )
linked_with_a_crap_library_which_uses_atexit ()
cannot_unload_broken_library () /* SVGAlib uses atexit() */
vlc_module_end ()
/*****************************************************************************