X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=ab893ca43e2bb20f23d84ce67646c2a7f4cb9650;hp=ada2c8d6fd0efb3bf1c2f2de62b43b303ff4258d;hb=d40d2e47d8033cbf917d09c3865179870897e773;hpb=7cf9f06d9ba7bcda54db3c668bfa0fde99abf34f diff --git a/main.c b/main.c index ada2c8d..ab893ca 100644 --- a/main.c +++ b/main.c @@ -19,32 +19,32 @@ # include "config.h" #endif +#include +#include +#include +#include +#include +#include +#include + #include #include #include #include +#include + +#include #include "mutt.h" #include "mx.h" #include "buffy.h" #include "sort.h" #include -#include "mutt_curses.h" #include "keymap.h" #include "url.h" #include "mutt_idna.h" #include "xterm.h" -#include "lib/debug.h" - -#include -#include -#include -#include -#include -#include -#include - #ifdef HAVE_GETOPT_H #include #else @@ -330,11 +330,6 @@ static void show_version (void) "+HAVE_REGCOMP " #else "-HAVE_REGCOMP " -#endif -#ifdef USE_GNU_REGEX - "+USE_GNU_REGEX " -#else - "-USE_GNU_REGEX " #endif "\n " #ifdef HAVE_COLOR @@ -545,8 +540,8 @@ int main (int argc, char **argv) SRAND (time (NULL)); umask (077); - p_clear(Options, sizeof(Options)); - p_clear(QuadOptions, sizeof(QuadOptions)); + p_clear(Options, countof(Options)); + p_clear(QuadOptions, countof(QuadOptions)); #ifdef USE_NNTP while ((i =