X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mapping.h;h=5b0302eaa334846dc054556858834f86bd62927f;hp=0e9b19e6d471b25900410cda74b4ca7f070608b6;hb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/mapping.h b/mapping.h index 0e9b19e..5b0302e 100644 --- a/mapping.h +++ b/mapping.h @@ -11,11 +11,11 @@ #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 *);