Commit 3b457e16 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Make config_GetCustomConfigFile static

parent d6d444d2
......@@ -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 );
......
......@@ -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 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment