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
0a5bd123
Commit
0a5bd123
authored
Nov 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning, and make config_end constant
parent
5593777b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
include/configuration.h
include/configuration.h
+1
-1
include/modules_inner.h
include/modules_inner.h
+2
-2
include/vlc_symbols.h
include/vlc_symbols.h
+1
-1
src/misc/configuration.c
src/misc/configuration.c
+1
-1
No files found.
include/configuration.h
View file @
0a5bd123
...
...
@@ -195,7 +195,7 @@ VLC_EXPORT( void, __config_ResetAll, ( vlc_object_t * ) );
VLC_EXPORT
(
module_config_t
*
,
config_FindConfig
,(
vlc_object_t
*
,
const
char
*
)
);
VLC_EXPORT
(
module_t
*
,
config_FindModule
,(
vlc_object_t
*
,
const
char
*
)
);
VLC_EXPORT
(
void
,
config_Duplicate
,
(
module_t
*
,
module_config_t
*
)
);
VLC_EXPORT
(
void
,
config_Duplicate
,
(
module_t
*
,
const
module_config_t
*
)
);
void
config_Free
(
module_t
*
);
VLC_EXPORT
(
void
,
config_SetCallbacks
,
(
module_config_t
*
,
module_config_t
*
)
);
...
...
include/modules_inner.h
View file @
0a5bd123
...
...
@@ -104,11 +104,11 @@ E_(vlc_entry) ( module_t *p_module );
{ \
int i_shortcut = 1, i_config = -1; \
module_config_t *p_config = NULL; \
static
module_config_t config_end = {
\
static
const module_config_t config_end = {
\
CONFIG_HINT_END, NULL, NULL, 0, NULL, NULL, NULL, 0, 0., 0, 0, \
0., 0., NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, 0, NULL, \
VLC_FALSE, NULL, VLC_FALSE, VLC_FALSE, VLC_FALSE, VLC_FALSE, \
NULL, 0, 0., NULL, 0, 0., VLC_FALSE
\
NULL, 0, 0., NULL, 0, 0., VLC_FALSE
, VLC_FALSE
\
}; \
STORE_SYMBOLS; \
p_module->b_submodule = VLC_FALSE; \
...
...
include/vlc_symbols.h
View file @
0a5bd123
...
...
@@ -70,7 +70,7 @@ struct module_symbols_t
void
(
*
__config_ResetAll_inner
)
(
vlc_object_t
*
);
module_config_t
*
(
*
config_FindConfig_inner
)
(
vlc_object_t
*
,
const
char
*
);
module_t
*
(
*
config_FindModule_inner
)
(
vlc_object_t
*
,
const
char
*
);
void
(
*
config_Duplicate_inner
)
(
module_t
*
,
module_config_t
*
);
void
(
*
config_Duplicate_inner
)
(
module_t
*
,
const
module_config_t
*
);
void
(
*
config_SetCallbacks_inner
)
(
module_config_t
*
,
module_config_t
*
);
void
(
*
config_UnsetCallbacks_inner
)
(
module_config_t
*
);
int
(
*
__intf_Eject_inner
)
(
vlc_object_t
*
,
const
char
*
);
...
...
src/misc/configuration.c
View file @
0a5bd123
...
...
@@ -483,7 +483,7 @@ module_t *config_FindModule( vlc_object_t *p_this, const char *psz_name )
* this module might be unloaded from memory at any time (remember HideModule).
* This is why we need to create an exact copy of the config data.
*****************************************************************************/
void
config_Duplicate
(
module_t
*
p_module
,
module_config_t
*
p_orig
)
void
config_Duplicate
(
module_t
*
p_module
,
const
module_config_t
*
p_orig
)
{
int
i
,
j
,
i_lines
=
1
;
module_config_t
*
p_item
;
...
...
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