X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=init.h;h=37e311223fd533116c8012454d13a20c790d16d4;hb=ea912b20ba2b3b9dfdbbae758ad56263c9aa41b3;hp=1966bd0c77b69581707dffdb3ef91997cb2fb832;hpb=1f2ac11f2012a0cc6c8a9fb01aed29b267411539;p=apps%2Fmadmutt.git diff --git a/init.h b/init.h index 1966bd0..37e3112 100644 --- a/init.h +++ b/init.h @@ -63,11 +63,11 @@ #define R_RESORT_BOTH (R_RESORT|R_RESORT_SUB) struct option_t { - char *option; + const char *option; short type; short flags; unsigned long data; - char* init; + const char *init; }; #define UL (unsigned long) @@ -122,7 +122,7 @@ struct option_t { # endif #endif -struct option_t MuttVars[] = { +struct option_t const MuttVars[] = { /*++*/ {"abort_noattach", DT_QUAD, R_NONE, OPT_ATTACH, "no" }, /* @@ -4012,10 +4012,9 @@ static int parse_alternates (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_unalternates (BUFFER *, BUFFER *, unsigned long, BUFFER *); struct command_t { - char *name; + const char *name; int (*func) (BUFFER *, BUFFER *, unsigned long, BUFFER *); unsigned long data; - unsigned long data1; }; struct command_t Commands[] = {