use a proper "hack" for iconv functions:
[apps/madmutt.git] / mapping.h
index 0e9b19e..5b0302e 100644 (file)
--- a/mapping.h
+++ b/mapping.h
 #define MAPPING_H
 
 struct mapping_t {
-  char *name;
+  const char *name;
   int value;
 };
 
-char *mutt_getnamebyvalue (int, const struct mapping_t *);
+const char *mutt_getnamebyvalue (int, const struct mapping_t *);
 char *mutt_compile_help (char *, size_t, int, struct mapping_t *);
 
 int mutt_getvaluebyname (const char *, const struct mapping_t *);