]> granicus.if.org Git - mutt/commitdiff
Remove a number of unnecessary config.h includes, and add some
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 5 Feb 2005 14:11:36 +0000 (14:11 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 5 Feb 2005 14:11:36 +0000 (14:11 +0000)
missing ones.  May fix some bugs.

crypthash.h
imap/util.c
lib.h
mbyte.h
mutt_idna.h
patchlist.sh
remailer.h
rfc822.h

index a2545b8e9525109c00b0280a51cd3a23872d2f00..d8e3a572e697ab606f6bc2b6ce78c2d7a938c82a 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef _CRYPTHASH_H
 # define _CRYPTHASH_H
 
-# include "config.h"
-
 
 # include <sys/types.h>
 # if HAVE_INTTYPES_H
index 6f435593f4db20aafaf2ab665cbbeae0a1e0aa70..96c8caf8efd63947fd6d81f5d98a8efed140825b 100644 (file)
@@ -20,6 +20,8 @@
 
 /* general IMAP utility functions */
 
+#include "config.h"
+
 #include "mutt.h"
 #include "mx.h"        /* for M_IMAP */
 #include "url.h"
diff --git a/lib.h b/lib.h
index 358fa7239c206a55ce08c4e2a463c545639e6f5b..f5fb94e9820184ffb66a08b66bb733cb668c3c2c 100644 (file)
--- a/lib.h
+++ b/lib.h
@@ -25,8 +25,6 @@
 #ifndef _LIB_H
 # define _LIB_H
 
-# include "config.h"
-
 # include <stdio.h>
 # include <string.h>
 # ifdef HAVE_UNISTD_H
diff --git a/mbyte.h b/mbyte.h
index 797a2da7f8cb7107fdee7f11f75ffd35b9d202fe..dc5ed999959b5f3883623f07716b8c4a4a700be6 100644 (file)
--- a/mbyte.h
+++ b/mbyte.h
@@ -1,8 +1,6 @@
 #ifndef _MBYTE_H
 # define _MBYTE_H
 
-# include "config.h"
-
 # ifdef HAVE_WC_FUNCS
 #  ifdef HAVE_WCHAR_H
 #   include <wchar.h>
index 0e2534a8f9d4feaf73a455ec7c99f725870ad258..4b4851629eeb695812e8672512bf2c1512630672 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef _MUTT_IDNA_H
 # define _MUTT_IDNA_H
 
-#include "config.h"
 #include "rfc822.h"
 #include "charset.h"
 
index 9cefc141b6b4eb2455254d8a7bc88b1b6dabaeaf..1f1f185c431efb7be13f299915e1372a7784dccc 100755 (executable)
@@ -1,7 +1,9 @@
 #!/bin/sh --
 
 cat <<EOF
-/* this is an autogenerated file.  do not edit. */
+/* this is an autogenerated file.  edit patchlist.sh instead. */
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 
index 0ff0e973fb2feaf3bc804991e564c806b8f2cad4..c7469170a32dd9e51a3ba36ec1e2b4bb8ac4adb7 100644 (file)
@@ -23,8 +23,6 @@
  * Mixmaster support for Mutt
  */
 
-#include "config.h"
-
 #ifdef MIXMASTER
 
 #define MIX_CAP_COMPRESS  (1 << 0)
index 1e703e35abdcdf9934e11c3cc649c250bc30dd4d..d141ba89dc18990fa5d3e5a838c93bb490916d36 100644 (file)
--- a/rfc822.h
+++ b/rfc822.h
@@ -19,8 +19,6 @@
 #ifndef rfc822_h
 #define rfc822_h
 
-#include "config.h"
-
 /* possible values for RFC822Error */
 enum
 {