]> git.sesse.net Git - vlc/commitdiff
Remove vlc_symbols legacy.
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 29 Jul 2007 09:01:40 +0000 (09:01 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 29 Jul 2007 09:01:40 +0000 (09:01 +0000)
src/extras/libc.c
src/modules/entry.c
src/modules/modules.c
src/modules/modules.h

index effbd0dc511f29277d8cc54e871d13ef480c3b23..03423804f9ad0bd87ec650bb15ccd3152e44be2e 100644 (file)
@@ -602,7 +602,7 @@ int vlc_scandir( const char *name, struct dirent ***namelist,
 }
 #endif
 
-#if defined (WIN32) || !defined (HAVE_SHARED_LIBVLC)
+#ifdef WIN32
 /*****************************************************************************
  * dgettext: gettext for plugins.
  *****************************************************************************/
index 9eff76bc0ea862ee6e2901aad7b2f5effd3adc1d..240a7a9370ff829b8d5bf718c68871bdb6797c3b 100644 (file)
@@ -35,9 +35,6 @@ module_t *vlc_module_create (vlc_object_t *obj)
     if (module == NULL)
         return NULL;
 
-#ifndef HAVE_SHARED_LIBVLC
-    module->p_symbols = &vlc_global( obj )->p_module_bank->symbols;
-#endif
     module->b_reentrant = module->b_unloadable = VLC_TRUE;
     module->psz_object_name = module->psz_longname = default_name;
     module->pp_shortcuts[0] = default_name;
index f741fbd08e1667f80c7168f37046c444d41c6f38..f5786eaa2e26c55062ee17a88db399fd424d7227 100644 (file)
@@ -196,13 +196,6 @@ void __module_InitBank( vlc_object_t *p_this )
     p_bank->b_cache = p_bank->b_cache_dirty =
         p_bank->b_cache_delete = VLC_FALSE;
 
-    /*
-     * Store the symbols to be exported
-     */
-#if defined (HAVE_DYNAMIC_PLUGINS) && !defined (HAVE_SHARED_LIBVLC)
-    STORE_SYMBOLS( &p_bank->symbols );
-#endif
-
     /* Everything worked, attach the object */
     p_libvlc_global->p_module_bank = p_bank;
     vlc_object_attach( p_bank, p_libvlc_global );
@@ -2207,9 +2200,6 @@ static void CacheMerge( vlc_object_t *p_this, module_t *p_cache,
 
     p_cache->pf_activate = p_module->pf_activate;
     p_cache->pf_deactivate = p_module->pf_deactivate;
-#ifndef HAVE_SHARED_LIBVLC
-    p_cache->p_symbols = p_module->p_symbols;
-#endif
     p_cache->handle = p_module->handle;
 
     for( i_submodule = 0; i_submodule < p_module->i_children; i_submodule++ )
@@ -2218,9 +2208,6 @@ static void CacheMerge( vlc_object_t *p_this, module_t *p_cache,
         module_t *p_cchild = (module_t*)p_cache->pp_children[i_submodule];
         p_cchild->pf_activate = p_child->pf_activate;
         p_cchild->pf_deactivate = p_child->pf_deactivate;
-#ifndef HAVE_SHARED_LIBVLC
-        p_cchild->p_symbols = p_child->p_symbols;
-#endif
     }
 
     p_cache->b_loaded = VLC_TRUE;
index 57ea9eb392a232b40c69ce9984d1f27dcf763e0f..c28fccb5883ca2b126cacc1ee6f23f4a9af6d77b 100644 (file)
@@ -34,9 +34,6 @@ struct module_bank_t
     VLC_COMMON_MEMBERS
 
     int              i_usage;
-#ifndef HAVE_SHARED_LIBVLC
-    module_symbols_t symbols;
-#endif
 
     vlc_bool_t       b_main;
     vlc_bool_t       b_builtins;
@@ -141,11 +138,6 @@ struct module_t
 
     vlc_bool_t          b_builtin;  /* Set to true if the module is built in */
     vlc_bool_t          b_loaded;        /* Set to true if the dll is loaded */
-
-#ifndef HAVE_SHARED_LIBVLC
-    /* Legacy symbols table */
-    module_symbols_t *p_symbols;
-#endif
 };
 #endif