struct iso639_lang_t
{
- char * psz_eng_name; /* Description in English */
- char * psz_native_name; /* Description in native language */
- char * psz_iso639_1; /* ISO-639-1 (2 characters) code */
- char * psz_iso639_2T; /* ISO-639-2/T (3 characters) English code */
- char * psz_iso639_2B; /* ISO-639-2/B (3 characters) native code */
+ const char * psz_eng_name; /* Description in English */
+ const char * psz_native_name; /* Description in native language */
+ const char * psz_iso639_1; /* ISO-639-1 (2 characters) code */
+ const char * psz_iso639_2T; /* ISO-639-2/T (3 characters) English code */
+ const char * psz_iso639_2B; /* ISO-639-2/B (3 characters) native code */
};
#if defined( __cplusplus )
} input_title_t;
-static inline input_title_t *vlc_input_title_New( )
+static inline input_title_t *vlc_input_title_New(void)
{
input_title_t *t = (input_title_t*)malloc( sizeof( input_title_t ) );
input_thread_t *p_input = p_sys->p_input;
vlc_value_t val, text;
- char *psz_var;
+ const char *psz_var;
if( es->fmt.i_cat == AUDIO_ES )
psz_var = "audio-es";
es_out_sys_t *p_sys = out->p_sys;
input_thread_t *p_input = p_sys->p_input;
vlc_value_t val;
- char *psz_var;
+ const char *psz_var;
if( es->p_dec )
{
es_out_sys_t *p_sys = out->p_sys;
input_thread_t *p_input = p_sys->p_input;
vlc_value_t val;
- char *psz_var;
+ const char *psz_var;
if( es->p_dec == NULL )
{
*
* This is used in iso_lang.cpp and is taken from the GNU glibc 2.2.5
* tarball. It has been partially completed with native language names.
- * Authors: St�hane Borel <stef@via.ecp.fr>
+ * Authors: Stéphane Borel <stef@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* If you find something missing or wrong contact <bug-glibc@gnu.org> */
/* Some spellings were converted to pure ASCII:
- * Proven�l -> Provencal
+ * Provençal -> Provencal
* Volapk -> Volapuk
- * Bokm� -> Bokmaal */
+ * Bokm? -> Bokmaal */
static const iso639_lang_t p_languages[] =
{
#endif
static const char * ppsz_type[4] = { "", " error", " warning", " debug" };
static const char *ppsz_color[4] = { WHITE, RED, YELLOW, GRAY };
- char *psz_object = "private";
+ const char *psz_object = "private";
int i_type = p_item->i_type;
switch( i_type )
/*****************************************************************************
* Local prototypes.
*****************************************************************************/
-static vlm_message_t *vlm_Show( vlm_t *, vlm_media_t *, vlm_schedule_t *, char * );
+static vlm_message_t *vlm_Show( vlm_t *, vlm_media_t *, vlm_schedule_t *, const char * );
static vlm_message_t *vlm_Help( vlm_t *, char * );
static vlm_media_instance_t *vlm_MediaInstanceSearch( vlm_t *, vlm_media_t *, const char * );
-static vlm_message_t *vlm_MessageNew( char *, const char *, ... );
+static vlm_message_t *vlm_MessageNew( const char *, const char *, ... );
static vlm_message_t *vlm_MessageAdd( vlm_message_t *, vlm_message_t * );
static vlm_schedule_t *vlm_ScheduleSearch( vlm_t *, const char * );
/*****************************************************************************
* Schedule handling
*****************************************************************************/
-static int64_t vlm_Date()
+static int64_t vlm_Date(void)
{
#ifdef WIN32
struct timeb tm;
/*****************************************************************************
* Message handling functions
*****************************************************************************/
-static vlm_message_t *vlm_MessageNew( char *psz_name,
+static vlm_message_t *vlm_MessageNew( const char *psz_name,
const char *psz_format, ... )
{
vlm_message_t *p_message;
* Misc utility functions
*****************************************************************************/
static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_t *media,
- vlm_schedule_t *schedule, char *psz_filter )
+ vlm_schedule_t *schedule,
+ const char *psz_filter )
{
if( media != NULL )
{