/*****************************************************************************
* 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[] )
{
+ VLC_UNUSED(p_this);
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 */
/*
Retrieve the preferred language as chosen in System Preferences.app
(note that CFLocaleCopyCurrent() is not used because it returns the
- prefered locale not language)
+ preferred locale not language)
*/
CFArrayRef all_locales, preferred_locales;
char psz_locale[50];
/*****************************************************************************
* 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 )