Commit 312324cd authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

update: Use const char * for psz_destdir.

parent 7e7f3bd7
...@@ -57,7 +57,7 @@ VLC_EXPORT( update_t *, __update_New, ( vlc_object_t * ) ); ...@@ -57,7 +57,7 @@ VLC_EXPORT( update_t *, __update_New, ( vlc_object_t * ) );
VLC_EXPORT( void, update_Delete, ( update_t * ) ); VLC_EXPORT( void, update_Delete, ( update_t * ) );
VLC_EXPORT( void, update_Check, ( update_t *, void (*callback)( void*, bool ), void * ) ); VLC_EXPORT( void, update_Check, ( update_t *, void (*callback)( void*, bool ), void * ) );
VLC_EXPORT( bool, update_NeedUpgrade, ( update_t * ) ); VLC_EXPORT( bool, update_NeedUpgrade, ( update_t * ) );
VLC_EXPORT( void, update_Download, ( update_t *, char* ) ); VLC_EXPORT( void, update_Download, ( update_t *, const char* ) );
VLC_EXPORT( update_release_t*, update_GetRelease, ( update_t * ) ); VLC_EXPORT( update_release_t*, update_GetRelease, ( update_t * ) );
/** /**
......
...@@ -1447,7 +1447,7 @@ void update_DownloadReal( update_download_thread_t *p_udt ); ...@@ -1447,7 +1447,7 @@ void update_DownloadReal( update_download_thread_t *p_udt );
* \param dir to store the download file * \param dir to store the download file
* \return nothing * \return nothing
*/ */
void update_Download( update_t *p_update, char *psz_destdir ) void update_Download( update_t *p_update, const char *psz_destdir )
{ {
assert( p_update ); assert( p_update );
...@@ -1690,7 +1690,7 @@ bool update_NeedUpgrade( update_t *p_update ) ...@@ -1690,7 +1690,7 @@ bool update_NeedUpgrade( update_t *p_update )
return false; return false;
} }
void update_Download( update_t *p_update, char *psz_destdir ) void update_Download( update_t *p_update, const char *psz_destdir )
{ {
(void)p_update; (void)psz_destdir; (void)p_update; (void)psz_destdir;
} }
......
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