X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=keymap.h;h=45829b699867ece52a8490fb049d061134927b3c;hp=3668f18337a43c4b7c02604d824460a3a91a06e8;hb=5e53f9e5f65aa5b3af6f5af9d868403536534afb;hpb=59926571aaec3e38cec09d0d9fa34f4a4b887309 diff --git a/keymap.h b/keymap.h index 3668f18..45829b6 100644 --- 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);