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

Constify (fixes #1391)

parent b445a6a5
...@@ -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 );
......
...@@ -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;
......
...@@ -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,
char *_src, char *_end ); const char *_src, const char *_end );
/**@}*/ /**@}*/
......
...@@ -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,
char *_src, char *_end ) const char *_src, const char *_end )
{ {
intf_thread_t *p_intf = p_args->p_intf; intf_thread_t *p_intf = p_args->p_intf;
......
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