X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_config_cat.h;h=fc1ecb81d25f9384132cd77c69adb96c2e01cfc1;hb=8f2dc55470a22af908c8b4070e85ce5e27d37f01;hp=931fc52afcaf56b52e2f859c19cb437de7eab5a7;hpb=fbf4c8060d35617e39b50ae739307152d02ed951;p=vlc diff --git a/include/vlc_config_cat.h b/include/vlc_config_cat.h index 931fc52afc..fc1ecb81d2 100644 --- a/include/vlc_config_cat.h +++ b/include/vlc_config_cat.h @@ -239,8 +239,9 @@ #define UNKNOWN_HELP N_("There is no help available for these modules.") /* This function is deprecated and is kept only for compatibility */ -static inline char * GetCapabilityHelp( char *psz_capability, int i_type) +static inline const char * GetCapabilityHelp( char *psz_capability, int i_type) { + (void)psz_capability; (void)i_type; return " "; } @@ -295,7 +296,7 @@ static struct config_category_t categories_array[] = { -1, NULL, NULL } }; -static inline char *config_CategoryNameGet( int i_value ) +static inline const char *config_CategoryNameGet( int i_value ) { int i = 0 ; while( categories_array[i].psz_name != NULL ) @@ -309,7 +310,7 @@ static inline char *config_CategoryNameGet( int i_value ) return NULL; } -static inline char *config_CategoryHelpGet( int i_value ) +static inline const char *config_CategoryHelpGet( int i_value ) { int i = 0 ; while( categories_array[i].psz_help != NULL )