X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=37e311223fd533116c8012454d13a20c790d16d4;hp=1966bd0c77b69581707dffdb3ef91997cb2fb832;hb=59926571aaec3e38cec09d0d9fa34f4a4b887309;hpb=1f02569d622173cfd4c39f56d1e0e1f488b7c73e 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[] = {