Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d640dbaf
Commit
d640dbaf
authored
Jan 30, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some const
parent
2ec9fb75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/modules/cache.c
src/modules/cache.c
+4
-4
No files found.
src/modules/cache.c
View file @
d640dbaf
...
@@ -486,8 +486,8 @@ error:
...
@@ -486,8 +486,8 @@ error:
}
}
}
}
static
int
CacheSaveConfig
(
FILE
*
,
module_t
*
);
static
int
CacheSaveConfig
(
FILE
*
,
const
module_t
*
);
static
int
CacheSaveSubmodule
(
FILE
*
,
module_t
*
);
static
int
CacheSaveSubmodule
(
FILE
*
,
const
module_t
*
);
static
int
CacheSaveBank
(
FILE
*
file
,
module_bank_t
*
p_bank
)
static
int
CacheSaveBank
(
FILE
*
file
,
module_bank_t
*
p_bank
)
{
{
...
@@ -581,7 +581,7 @@ error:
...
@@ -581,7 +581,7 @@ error:
return
-
1
;
return
-
1
;
}
}
static
int
CacheSaveSubmodule
(
FILE
*
file
,
module_t
*
p_module
)
static
int
CacheSaveSubmodule
(
FILE
*
file
,
const
module_t
*
p_module
)
{
{
if
(
!
p_module
)
if
(
!
p_module
)
return
0
;
return
0
;
...
@@ -606,7 +606,7 @@ error:
...
@@ -606,7 +606,7 @@ error:
}
}
static
int
CacheSaveConfig
(
FILE
*
file
,
module_t
*
p_module
)
static
int
CacheSaveConfig
(
FILE
*
file
,
const
module_t
*
p_module
)
{
{
uint32_t
i_lines
=
p_module
->
confsize
;
uint32_t
i_lines
=
p_module
->
confsize
;
...
...
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