* Prototypes
*****************************************************************************/
#ifdef _NEED_OS_SPECIFIC_H
- void system_Init ( libvlc_int_t *, int *, char *[] );
- void system_Configure ( libvlc_int_t *, int *, char *[] );
+ void system_Init ( libvlc_int_t *, int *, const char *[] );
+ void system_Configure ( libvlc_int_t *, int *, const char *[] );
void system_End ( libvlc_int_t * );
#else
# define system_Init( a, b, c ) {}
/*****************************************************************************
* system_Init: create a BApplication object and fill in program path.
*****************************************************************************/
-void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
vlc_global()->p_appthread =
(vlc_object_t *)vlc_object_create( p_this, sizeof(vlc_object_t) );
/*****************************************************************************
* system_Configure: check for system specific configuration options.
*****************************************************************************/
-void system_Configure( libvlc_int_t *, int *pi_argc, char *ppsz_argv[] )
+void system_Configure( libvlc_int_t *, int *pi_argc, const char *ppsz_argv[] )
{
}
/*****************************************************************************
* system_Init: fill in program path & retrieve language
*****************************************************************************/
-void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
char i_dummy;
char *p_char = NULL;
char *p_oldchar = &i_dummy;
unsigned int i;
+ (void)pi_argc;
/* Get the full program path and name */
/*****************************************************************************
* system_Configure: check for system specific configuration options.
*****************************************************************************/
-void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
-
+ (void)p_this;
+ (void)pi_argc;
+ (void)ppsz_argv;
}
/*****************************************************************************
*****************************************************************************/
void system_End( libvlc_int_t *p_this )
{
+ (void)p_this;
free( vlc_global()->psz_vlcpath );
if ( vlc_global()->iconv_macosx != (vlc_iconv_t)-1 )
/*****************************************************************************
* system_Init: initialize winsock and misc other things.
*****************************************************************************/
-void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
WSADATA Data;
char data[0];
} vlc_ipc_data_t;
-void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
#if !defined( UNDER_CE )
/* Raise default priority of the current process */