rationnalize includes a lot:
[apps/madmutt.git] / editmsg.c
index 3e2bd0f..9dd05e1 100644 (file)
--- a/editmsg.c
+++ b/editmsg.c
@@ -9,23 +9,12 @@
 
 /* simple, editor-based message editing */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <lib-lib/macros.h>
+#include <lib-lib/lib-lib.h>
 
 #include "mutt.h"
 #include "copy.h"
 #include "mx.h"
 
-#include "lib/str.h"
-
-#include <sys/stat.h>
-#include <errno.h>
-
-#include <time.h>
-
 /*
  * return value:
  * 
@@ -54,7 +43,7 @@ static int edit_one_message (CONTEXT * ctx, HEADER * cur)
 
   struct stat sb;
   time_t mtime = 0;
-  size_t size = 0;
+  ssize_t size = 0;
 
   mutt_mktemp (tmp);