[vlc-devel] commit: Make config_GetCustomConfigFile static ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 6 19:27:12 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May  6 18:43:10 2009 +0300| [3b457e167ddf2459bd7fc4ab0dad00956a5e2b98] | committer: Rémi Denis-Courmont 

Make config_GetCustomConfigFile static

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b457e167ddf2459bd7fc4ab0dad00956a5e2b98
---

 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 9d1ba85..44884c9 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 5dc5f2d..587269e 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 )




More information about the vlc-devel mailing list