summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-09-19 13:55:23 +0200
committerBenny Baumann <BenBE@geshi.org>2020-10-18 20:09:05 +0200
commit0f5262917fab34b44b43f63946fdf6bb0621875a (patch)
tree07e449767f00310ef038d786688f891600a01b4d /htop.c
parent29346d05616ce69e5988b3f1257c340f91299602 (diff)
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c30
1 files changed, 19 insertions, 11 deletions
diff --git a/htop.c b/htop.c
index 39aeec1a..7d1c1b16 100644
--- a/htop.c
+++ b/htop.c
@@ -5,28 +5,36 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
-#include "config.h"
+#include "config.h" // IWYU pragma: keep
-#include "FunctionBar.h"
-#include "Hashtable.h"
+#include <assert.h>
+#include <getopt.h>
+#include <locale.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
+
+#include "Action.h"
#include "ColumnsPanel.h"
#include "CRT.h"
+#include "Hashtable.h"
+#include "Header.h"
+#include "IncSet.h"
#include "MainPanel.h"
#include "MetersPanel.h"
+#include "Panel.h"
+#include "Platform.h"
+#include "Process.h"
#include "ProcessList.h"
+#include "ProvideCurses.h"
#include "ScreenManager.h"
#include "Settings.h"
#include "UsersTable.h"
-#include "Platform.h"
#include "XUtils.h"
-#include <getopt.h>
-#include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-#include <unistd.h>
//#link m

© 2014-2024 Faster IT GmbH | imprint | privacy policy