From d158d8926195d8f6a417c2b2a47405d8d041c175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <rem@videolan.org> Date: Sun, 3 Dec 2006 18:15:03 +0000 Subject: [PATCH] Make module_LoadMain static --- src/misc/modules.c | 4 +++- src/misc/modules.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/misc/modules.c b/src/misc/modules.c index 11c06c112cc8..15fb681adde1 100644 --- a/src/misc/modules.c +++ b/src/misc/modules.c @@ -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; diff --git a/src/misc/modules.h b/src/misc/modules.h index 68a0ff1671fd..a636b5b6e0fb 100644 --- a/src/misc/modules.h +++ b/src/misc/modules.h @@ -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)) -- GitLab