]> granicus.if.org Git - neomutt/commitdiff
iwyu: tidy #includes
authorRichard Russon <rich@flatcap.org>
Mon, 8 Jul 2019 21:42:38 +0000 (22:42 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 21 Oct 2019 18:54:46 +0000 (19:54 +0100)
help/help.c
help/help.h

index cb76ac9e1456f782bd1fd351c27bf0bb7e3d4d22..43f0d1c12d814980e34653ec5eb950d1736dce98 100644 (file)
 
 #include "config.h"
 #include <stddef.h>
-#include <dirent.h>
 #include <errno.h>
+#include <ftw.h>
 #include <limits.h>
 #include <stdarg.h>
 #include <stdbool.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/stat.h>
 #include <time.h>
 #include <unistd.h>
 #include "mutt/mutt.h"
 #include "core/lib.h"
 #include "email/lib.h"
 #include "help.h"
-#include "context.h"
 #include "globals.h"
 #include "mutt_header.h"
-#include "mutt_options.h"
 #include "mutt_thread.h"
 #include "muttlib.h"
 #include "mx.h"
-#include "protos.h"
+
+struct stat;
 
 #define HELP_CACHE_DOCLIST                                                     \
   1 ///< whether to cache the DocList between help_mbox_open calls
index 14bb62462a5cc6b42281c58f817d827dd7108161..9278b0e7432a78857cf9f74a3764356b9b7597f4 100644 (file)
@@ -25,8 +25,9 @@
 #ifndef MUTT_HELP_HELP_H
 #define MUTT_HELP_HELP_H
 
+#include <stddef.h>
+#include <stdint.h>
 #include "mx.h"
-#include <ftw.h>
 
 extern struct MxOps MxHelpOps;