]> granicus.if.org Git - neomutt/commitdiff
iwyu
authorRichard Russon <rich@flatcap.org>
Wed, 9 Jan 2019 23:18:47 +0000 (23:18 +0000)
committerRichard Russon <rich@flatcap.org>
Fri, 8 Feb 2019 18:32:34 +0000 (18:32 +0000)
config/cfgaccount.h
config/dump.h
config/set.h
mutt/signal2.h
mutt_account.h
notmuch/mutt_notmuch.c
notmuch/mutt_notmuch.h
notmuch/nm_db.c
notmuch/notmuch_private.h
state.h

index ebb5c9e4b380c75f324ba2feb0841082e0208881..3754f43dc6c339314220ecd3f96d54f2ee38201d 100644 (file)
@@ -24,6 +24,7 @@
 #define _CONFIG_ACCOUNT_H
 
 #include <stdint.h>
+#include <stdio.h>
 
 struct Buffer;
 struct ConfigSet;
index d09b7e961705286c217455d4ce3a94b7da4e743e..cd2d6fa424082db1f6d4c61cc4260d0ccc7b749e 100644 (file)
 #define MUTT_CONFIG_DUMP_H
 
 #include <stddef.h>
+#include <stdbool.h>
+#include <stdio.h>
 
+struct Buffer;
 struct ConfigSet;
+struct HashElem;
 
 #define CS_DUMP_STYLE_MUTT   0 /**< Display config in Mutt style */
 #define CS_DUMP_STYLE_NEO    1 /**< Display config in NeoMutt style */
index 7ed22569b14561f65430e33acb9966f6a6a71b3e..357d2c5b014fffe0c0887be81d421829a759b2f2 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <stdbool.h>
 #include <stdint.h>
+#include <stdio.h>
 
 struct Buffer;
 struct ConfigSet;
index 6b4dda43079ae723eec407db6adfb33280095ca4..5dc264d1e8be9ab6fd72067ec1f85b533b57435e 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef MUTT_LIB_SIGNAL_H
 #define MUTT_LIB_SIGNAL_H
 
+#include <stdbool.h>
+
 /**
  * typedef sig_handler_t - Handler for signals
  * @param sig Signal number, e.g. SIGINT
index 51b680e9853be03dd337af7a7405d23e41834a00..017e5b8becccbaf61e94381a6b433e0c7630784a 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef MUTT_MUTT_ACCOUNT_H
 #define MUTT_MUTT_ACCOUNT_H
 
+#include <stdbool.h>
+
 struct ConnAccount;
 struct Url;
 
index 7a3f242d18189f824c0f959bf6c15d9e54a145df..631f219e7682461d8f14eaa15339cc1fabce774f 100644 (file)
@@ -49,8 +49,6 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <string.h>
-#include <sys/stat.h>
-#include <sys/types.h>
 #include <time.h>
 #include <unistd.h>
 #include "notmuch_private.h"
 #include "mutt.h"
 #include "mutt_notmuch.h"
 #include "account.h"
-#include "context.h"
 #include "curs_lib.h"
 #include "globals.h"
 #include "index.h"
 #include "mailbox.h"
 #include "maildir/lib.h"
-#include "mutt_logging.h"
 #include "mutt_thread.h"
 #include "mx.h"
 #include "progress.h"
index 9c38b8ae43c760974ae45f01af47d8bca7d92aa6..433fb1cbbd496cceec5e6e539fc15a811ce6f3f0 100644 (file)
@@ -39,7 +39,9 @@
 #include "mx.h"
 
 struct Email;
+struct Mailbox;
 struct NmMboxData;
+struct stat;
 
 /* These Config Variables are only used in notmuch/mutt_notmuch.c */
 extern int   NmDbLimit;
index e39c41437117cbd573ad664555281ecf5de8549d..9567a33e2ae2e38595e64046659507a33105c647 100644 (file)
  */
 
 #include "config.h"
+#include <limits.h>
 #include <notmuch.h>
-#include <string.h>
+#include <stdbool.h>
+#include <stdio.h>
 #include <sys/stat.h>
+#include <time.h>
 #include "notmuch_private.h"
+#include "mutt/mutt.h"
+#include "config/lib.h"
 #include "email/lib.h"
-#include "account.h"
 #include "globals.h"
 #include "mutt_logging.h"
 #include "mutt_notmuch.h"
 
+struct Mailbox;
+
 /**
  * nm_db_get_filename - Get the filename of the Notmuch database
  * @param m Mailbox
index 565873bc0b1e7c075fe7d8ff71e7a6c0f0decfc0..ae20cdc92e01ed4a9691b672340b95012b3fa501 100644 (file)
@@ -21,7 +21,9 @@
  */
 
 #include <notmuch.h>
-#include "email/lib.h"
+#include <stdbool.h>
+#include <time.h>
+#include "config/lib.h"
 #include "progress.h"
 
 #ifndef MUTT_NOTMUCH_NOTMUCH_PRIVATE_H
diff --git a/state.h b/state.h
index 0e464d6a814da4f06293c6a96a878005331dc993..b11385415d0c6fbbc6f9ec22680c6f3777204b26 100644 (file)
--- a/state.h
+++ b/state.h
@@ -23,6 +23,8 @@
 #ifndef MUTT_STATE_H
 #define MUTT_STATE_H
 
+#include <stdbool.h>
+#include <stdint.h>
 #include <stdio.h>
 
 /**