From 3b457e167ddf2459bd7fc4ab0dad00956a5e2b98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 6 May 2009 18:43:10 +0300 Subject: [PATCH] Make config_GetCustomConfigFile static --- src/config/configuration.h | 1 - src/config/file.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/configuration.h b/src/config/configuration.h index 9d1ba85220..44884c986e 100644 --- a/src/config/configuration.h +++ b/src/config/configuration.h @@ -43,7 +43,6 @@ void config_UnsetCallbacks( module_config_t *, size_t ); #define config_LoadConfigFile(a,b) __config_LoadConfigFile(VLC_OBJECT(a),b) int __config_LoadCmdLine ( vlc_object_t *, int *, const char *[], bool ); -char *config_GetCustomConfigFile( libvlc_int_t * ); int __config_LoadConfigFile( vlc_object_t *, const char * ); int IsConfigStringType( int type ); diff --git a/src/config/file.c b/src/config/file.c index 5dc5f2de90..587269e45d 100644 --- a/src/config/file.c +++ b/src/config/file.c @@ -43,6 +43,7 @@ #include "modules/modules.h" static char *ConfigKeyToString( int ); +static char *config_GetCustomConfigFile( libvlc_int_t * ); static inline char *strdupnull (const char *src) { @@ -697,7 +698,7 @@ int __config_SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name ) /** * Get the user's configuration file when given with the --config option */ -char *config_GetCustomConfigFile( libvlc_int_t *p_libvlc ) +static char *config_GetCustomConfigFile( libvlc_int_t *p_libvlc ) { char *psz_configfile = config_GetPsz( p_libvlc, "config" ); if( psz_configfile != NULL ) -- 2.39.2