projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rationnalize includes a lot:
[apps/madmutt.git]
/
lib-ui
/
curs_main.c
diff --git
a/lib-ui/curs_main.c
b/lib-ui/curs_main.c
index
5b40ceb
..
bc868e3
100644
(file)
--- a/
lib-ui/curs_main.c
+++ b/
lib-ui/curs_main.c
@@
-10,23
+10,9
@@
* please see the file GPL in the top level source directory.
*/
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <ctype.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/wait.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <errno.h>
+#include <lib-lib/lib-lib.h>
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/mapping.h>
-#include <lib-lib/debug.h>
+#include <lib-ui/sidebar.h>
#include <pop/pop.h>
#include <pop/pop.h>
@@
-40,7
+26,6
@@
#include "recvattach.h"
#include "buffy.h"
#include "mx.h"
#include "recvattach.h"
#include "buffy.h"
#include "mx.h"
-#include "sidebar.h"
#include "thread.h"
#include "xterm.h"
#include "thread.h"
#include "xterm.h"
@@
-605,8
+590,6
@@
int mutt_index_menu (void)
op = km_dokey (MENU_MAIN);
op = km_dokey (MENU_MAIN);
- debug_print (4, ("Got op %d\n", op));
-
if (op == -1)
continue; /* either user abort or timeout */
if (op == -1)
continue; /* either user abort or timeout */