use a proper "hack" for iconv functions:
[apps/madmutt.git] / keymap.h
index 3668f18..45829b6 100644 (file)
--- a/keymap.h
+++ b/keymap.h
@@ -21,8 +21,8 @@
 /* type for key storage, the rest of mutt works fine with int type */
 typedef short keycode_t;
 
-void km_bind (char *, int, int, char *, char *);
-void km_bindkey (char *, int, int);
+void km_bind (const char *, int, int, char *, char *);
+void km_bindkey (const char *, int, int);
 int km_dokey (int);
 
 /* entry in the keymap tree */
@@ -82,9 +82,9 @@ extern int LastKey;
 extern struct mapping_t Menus[];
 
 struct binding_t {
-  char *name;                   /* name of the function */
-  int op;                       /* function id number */
-  char *seq;                    /* default key binding */
+    const char *name;             /* name of the function */
+    int op;                       /* function id number */
+    const char *seq;              /* default key binding */
 };
 
 struct binding_t *km_get_table (int menu);