Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
55236712
Commit
55236712
authored
Mar 09, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Constify (fixes #1391)
parent
b445a6a5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
include/vlc_input.h
include/vlc_input.h
+1
-1
include/vlc_vlm.h
include/vlc_vlm.h
+2
-1
modules/control/http/http.h
modules/control/http/http.h
+1
-1
modules/control/http/macro.c
modules/control/http/macro.c
+1
-1
No files found.
include/vlc_input.h
View file @
55236712
...
@@ -103,7 +103,7 @@ static inline void vlc_seekpoint_Delete( seekpoint_t *point )
...
@@ -103,7 +103,7 @@ static inline void vlc_seekpoint_Delete( seekpoint_t *point )
free
(
point
);
free
(
point
);
}
}
static
inline
seekpoint_t
*
vlc_seekpoint_Duplicate
(
seekpoint_t
*
src
)
static
inline
seekpoint_t
*
vlc_seekpoint_Duplicate
(
const
seekpoint_t
*
src
)
{
{
seekpoint_t
*
point
=
vlc_seekpoint_New
();
seekpoint_t
*
point
=
vlc_seekpoint_New
();
if
(
src
->
psz_name
)
point
->
psz_name
=
strdup
(
src
->
psz_name
);
if
(
src
->
psz_name
)
point
->
psz_name
=
strdup
(
src
->
psz_name
);
...
...
include/vlc_vlm.h
View file @
55236712
...
@@ -220,7 +220,8 @@ static inline void vlm_media_Init( vlm_media_t *p_media )
...
@@ -220,7 +220,8 @@ static inline void vlm_media_Init( vlm_media_t *p_media )
* \param p_dst vlm_media_t instance to copy to
* \param p_dst vlm_media_t instance to copy to
* \param p_src vlm_media_t instance to copy from
* \param p_src vlm_media_t instance to copy from
*/
*/
static
inline
void
vlm_media_Copy
(
vlm_media_t
*
p_dst
,
vlm_media_t
*
p_src
)
static
inline
void
vlm_media_Copy
(
vlm_media_t
*
restrict
p_dst
,
const
vlm_media_t
*
restrict
p_src
)
{
{
int
i
;
int
i
;
...
...
modules/control/http/http.h
View file @
55236712
...
@@ -282,7 +282,7 @@ void Execute( httpd_file_sys_t *p_args,
...
@@ -282,7 +282,7 @@ void Execute( httpd_file_sys_t *p_args,
char
*
p_request
,
int
i_request
,
char
*
p_request
,
int
i_request
,
char
**
pp_data
,
int
*
pi_data
,
char
**
pp_data
,
int
*
pi_data
,
char
**
pp_dst
,
char
**
pp_dst
,
c
har
*
_src
,
char
*
_end
);
c
onst
char
*
_src
,
const
char
*
_end
);
/**@}*/
/**@}*/
...
...
modules/control/http/macro.c
View file @
55236712
...
@@ -870,7 +870,7 @@ void Execute( httpd_file_sys_t *p_args,
...
@@ -870,7 +870,7 @@ void Execute( httpd_file_sys_t *p_args,
char
*
p_request
,
int
i_request
,
char
*
p_request
,
int
i_request
,
char
**
pp_data
,
int
*
pi_data
,
char
**
pp_data
,
int
*
pi_data
,
char
**
pp_dst
,
char
**
pp_dst
,
c
har
*
_src
,
char
*
_end
)
c
onst
char
*
_src
,
const
char
*
_end
)
{
{
intf_thread_t
*
p_intf
=
p_args
->
p_intf
;
intf_thread_t
*
p_intf
=
p_args
->
p_intf
;
...
...
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