]> git.sesse.net Git - vlc/blobdiff - include/vlc_config_cat.h
Typo.
[vlc] / include / vlc_config_cat.h
index 670125f7ee129671766a82f753bf1c467a1bc739..99fac9f46af869906145739a02fc26508bb3bfa6 100644 (file)
@@ -22,8 +22,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _VLC_HELP_H
-#define _VLC_HELP_H 1
+#ifndef VLC_HELP_H
+#define VLC_HELP_H 1
 
 /*
  *  First, we need help strings for the General Settings and for the
 #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)
-{
-    return " ";
-}
-
-static struct config_category_t categories_array[] =
+static const struct config_category_t categories_array[] =
 {
     /* Interface */
     { CAT_INTERFACE, INTF_TITLE, INTF_HELP },
@@ -291,7 +286,8 @@ static struct config_category_t categories_array[] =
     { -1, NULL, NULL }
 };
 
-static inline char *config_CategoryNameGet( int i_value )
+LIBVLC_USED
+static inline const char *config_CategoryNameGet( int i_value )
 {
     int i = 0 ;
     while( categories_array[i].psz_name != NULL )
@@ -305,7 +301,8 @@ static inline char *config_CategoryNameGet( int i_value )
     return NULL;
 }
 
-static inline char *config_CategoryHelpGet( int i_value )
+LIBVLC_USED
+static inline const char *config_CategoryHelpGet( int i_value )
 {
     int i = 0 ;
     while( categories_array[i].psz_help != NULL )