Commit 47ee4e3b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused parameter

parent 8a96b3e7
...@@ -44,9 +44,9 @@ void config_UnsetCallbacks( module_config_t *, size_t ); ...@@ -44,9 +44,9 @@ void config_UnsetCallbacks( module_config_t *, size_t );
int __config_LoadCmdLine ( vlc_object_t *, int *, const char *[], bool ); int __config_LoadCmdLine ( vlc_object_t *, int *, const char *[], bool );
char *config_GetHomeDir ( void ); char *config_GetHomeDir ( void );
char *config_GetConfigDir ( libvlc_int_t * ); char *config_GetConfigDir ( void );
char *config_GetUserDataDir( libvlc_int_t * ); char *config_GetUserDataDir( void );
char *config_GetCacheDir ( libvlc_int_t * ); char *config_GetCacheDir ( void );
char *config_GetConfigFile ( libvlc_int_t * ); char *config_GetConfigFile ( libvlc_int_t * );
char *config_GetCustomConfigFile( libvlc_int_t * ); char *config_GetCustomConfigFile( libvlc_int_t * );
int __config_LoadConfigFile( vlc_object_t *, const char * ); int __config_LoadConfigFile( vlc_object_t *, const char * );
......
...@@ -764,7 +764,7 @@ out: ...@@ -764,7 +764,7 @@ out:
/** /**
* Get the user's VLC configuration directory * Get the user's VLC configuration directory
*/ */
char *config_GetConfigDir( libvlc_int_t *p_libvlc ) char *config_GetConfigDir( void )
{ {
return config_GetFooDir ("CONFIG", ".config"); return config_GetFooDir ("CONFIG", ".config");
} }
...@@ -773,7 +773,7 @@ char *config_GetConfigDir( libvlc_int_t *p_libvlc ) ...@@ -773,7 +773,7 @@ char *config_GetConfigDir( libvlc_int_t *p_libvlc )
* Get the user's VLC data directory * Get the user's VLC data directory
* (used for stuff like the skins, custom lua modules, ...) * (used for stuff like the skins, custom lua modules, ...)
*/ */
char *config_GetUserDataDir( libvlc_int_t *p_libvlc ) char *config_GetUserDataDir( void )
{ {
return config_GetFooDir ("DATA", ".local/share"); return config_GetFooDir ("DATA", ".local/share");
} }
...@@ -782,7 +782,7 @@ char *config_GetUserDataDir( libvlc_int_t *p_libvlc ) ...@@ -782,7 +782,7 @@ char *config_GetUserDataDir( libvlc_int_t *p_libvlc )
* Get the user's VLC cache directory * Get the user's VLC cache directory
* (used for stuff like the modules cache, the album art cache, ...) * (used for stuff like the modules cache, the album art cache, ...)
*/ */
char *config_GetCacheDir( libvlc_int_t *p_libvlc ) char *config_GetCacheDir( void )
{ {
return config_GetFooDir ("CACHE", ".cache"); return config_GetFooDir ("CACHE", ".cache");
} }
...@@ -301,9 +301,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -301,9 +301,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Set the config file stuff */ /* Set the config file stuff */
p_libvlc->psz_homedir = config_GetHomeDir(); p_libvlc->psz_homedir = config_GetHomeDir();
p_libvlc->psz_configdir = config_GetConfigDir( p_libvlc ); p_libvlc->psz_configdir = config_GetConfigDir();
p_libvlc->psz_datadir = config_GetUserDataDir( p_libvlc ); p_libvlc->psz_datadir = config_GetUserDataDir();
p_libvlc->psz_cachedir = config_GetCacheDir( p_libvlc ); p_libvlc->psz_cachedir = config_GetCacheDir();
priv->psz_configfile = config_GetCustomConfigFile( p_libvlc ); priv->psz_configfile = config_GetCustomConfigFile( p_libvlc );
/* Check for plugins cache options */ /* Check for plugins cache options */
......
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