]> git.sesse.net Git - vlc/commitdiff
Make module_LoadMain static
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 3 Dec 2006 18:15:03 +0000 (18:15 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 3 Dec 2006 18:15:03 +0000 (18:15 +0000)
src/misc/modules.c
src/misc/modules.h

index 11c06c112cc872351fe1ba83d7675cfc9623b61e..15fb681adde1ca5d052b5d3fb8e7ebdbf8fb1d81 100644 (file)
@@ -158,6 +158,8 @@ static char * GetWindowsError  ( void );
 #endif
 #endif
 
+static void module_LoadMain( vlc_object_t *p_this );
+
 
 /* Sub-version number
  * (only used to avoid breakage in dev version when cache structure changes) */
@@ -307,7 +309,7 @@ void __module_EndBank( vlc_object_t *p_this )
  * as another module, and for instance the configuration options of main will
  * be available in the module bank structure just as for every other module.
  *****************************************************************************/
-void __module_LoadMain( vlc_object_t *p_this )
+static void module_LoadMain( vlc_object_t *p_this )
 {
     vlc_value_t lockval;
 
index 68a0ff1671fd6eb12470dde3280972a7dc474656..a636b5b6e0fbc587dc3dd618d07d0532152b2a80 100644 (file)
@@ -71,8 +71,6 @@ struct module_cache_t
 
 #define module_InitBank(a)     __module_InitBank(VLC_OBJECT(a))
 void  __module_InitBank        ( vlc_object_t * );
-#define module_LoadMain(a)     __module_LoadMain(VLC_OBJECT(a))
-void  __module_LoadMain        ( vlc_object_t * );
 #define module_LoadBuiltins(a) __module_LoadBuiltins(VLC_OBJECT(a))
 void  __module_LoadBuiltins    ( vlc_object_t * );
 #define module_LoadPlugins(a)  __module_LoadPlugins(VLC_OBJECT(a))