summaryrefslogtreecommitdiffstats
path: root/mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'mapping.h')
-rw-r--r--mapping.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mapping.h b/mapping.h
index 6f400575..760c33a8 100644
--- a/mapping.h
+++ b/mapping.h
@@ -21,12 +21,12 @@
struct mapping_t
{
- char *name;
+ const char *name;
int value;
};
-char *mutt_getnamebyvalue (int, const struct mapping_t *);
-char *mutt_compile_help (char *, size_t, int, struct mapping_t *);
+const char *mutt_getnamebyvalue (int, const struct mapping_t *);
+char *mutt_compile_help (char *, size_t, int, const struct mapping_t *);
int mutt_getvaluebyname (const char *, const struct mapping_t *);