From 7c97976df7e63618ec4dfbf65c62d50a54745f34 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Fri, 25 May 2018 01:20:00 +0100 Subject: [PATCH] tidy main --- main.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/main.c b/main.c index aea16f5ad..f9c9d4b94 100644 --- a/main.c +++ b/main.c @@ -76,6 +76,15 @@ #include "nntp.h" #endif +#define MUTT_IGNORE (1 << 0) /* -z */ +#define MUTT_BUFFY (1 << 1) /* -Z */ +#define MUTT_NOSYSRC (1 << 2) /* -n */ +#define MUTT_RO (1 << 3) /* -R */ +#define MUTT_SELECT (1 << 4) /* -y */ +#ifdef USE_NNTP +#define MUTT_NEWS (1 << 5) /* -g and -G */ +#endif + /** * mutt_exit - Leave NeoMutt NOW * @param code Value to return to the calling environment @@ -197,19 +206,10 @@ static int start_curses(void) return 0; } -#define MUTT_IGNORE (1 << 0) /* -z */ -#define MUTT_BUFFY (1 << 1) /* -Z */ -#define MUTT_NOSYSRC (1 << 2) /* -n */ -#define MUTT_RO (1 << 3) /* -R */ -#define MUTT_SELECT (1 << 4) /* -y */ -#ifdef USE_NNTP -#define MUTT_NEWS (1 << 5) /* -g and -G */ -#endif - /** * init_locale - Initialise the Locale/NLS settings */ -void init_locale(void) +static void init_locale(void) { setlocale(LC_ALL, ""); -- 2.40.0