Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
3b457e16
Commit
3b457e16
authored
May 06, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make config_GetCustomConfigFile static
parent
d6d444d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/config/configuration.h
src/config/configuration.h
+0
-1
src/config/file.c
src/config/file.c
+2
-1
No files found.
src/config/configuration.h
View file @
3b457e16
...
@@ -43,7 +43,6 @@ void config_UnsetCallbacks( module_config_t *, size_t );
...
@@ -43,7 +43,6 @@ void config_UnsetCallbacks( module_config_t *, size_t );
#define config_LoadConfigFile(a,b) __config_LoadConfigFile(VLC_OBJECT(a),b)
#define config_LoadConfigFile(a,b) __config_LoadConfigFile(VLC_OBJECT(a),b)
int
__config_LoadCmdLine
(
vlc_object_t
*
,
int
*
,
const
char
*
[],
bool
);
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
__config_LoadConfigFile
(
vlc_object_t
*
,
const
char
*
);
int
IsConfigStringType
(
int
type
);
int
IsConfigStringType
(
int
type
);
...
...
src/config/file.c
View file @
3b457e16
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
#include "modules/modules.h"
#include "modules/modules.h"
static
char
*
ConfigKeyToString
(
int
);
static
char
*
ConfigKeyToString
(
int
);
static
char
*
config_GetCustomConfigFile
(
libvlc_int_t
*
);
static
inline
char
*
strdupnull
(
const
char
*
src
)
static
inline
char
*
strdupnull
(
const
char
*
src
)
{
{
...
@@ -697,7 +698,7 @@ int __config_SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name )
...
@@ -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
* 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"
);
char
*
psz_configfile
=
config_GetPsz
(
p_libvlc
,
"config"
);
if
(
psz_configfile
!=
NULL
)
if
(
psz_configfile
!=
NULL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment