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

Missing const

parent 02fbd587
......@@ -26,6 +26,7 @@
*****************************************************************************/
#include <vlc/vlc.h>
#include "bonjour.h"
#ifdef HAVE_AVAHI_CLIENT
#include <vlc_sout.h>
......@@ -188,8 +189,8 @@ static void poll_iterate_thread( poll_thread_t *p_pt )
/*****************************************************************************
* bonjour_start_service
*****************************************************************************/
void *bonjour_start_service( vlc_object_t *p_log, char *psz_stype,
char *psz_name, int i_port, char *psz_txt )
void *bonjour_start_service( vlc_object_t *p_log, const char *psz_stype,
const char *psz_name, int i_port, char *psz_txt )
{
int err;
bonjour_t *p_sys;
......
......@@ -21,5 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
void *bonjour_start_service( vlc_object_t *, char*, char *, int, char * );
void *bonjour_start_service( vlc_object_t *, const char*, const char *, int,
char * );
void bonjour_stop_service( void * );
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