summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-05-24 09:39:04 +0200
committerBenny Baumann <BenBE@geshi.org>2023-05-24 10:06:39 +0200
commitb3cf54e3f94bfa7c6e519b12123e71fa1902719c (patch)
tree9e5b41358ebf545f6de8b3017c0a26679ad5cac0
parentdc883b2910f1feea7806fa5109916f9e1ae0d030 (diff)
Always mark config.h with IWYU pragma: keep
-rw-r--r--CRT.h2
-rw-r--r--ProvideCurses.h2
-rw-r--r--RichString.h2
-rw-r--r--generic/fdstat_sysctl.c4
-rw-r--r--linux/LibSensors.c2
-rw-r--r--linux/LinuxMachine.h2
-rw-r--r--linux/LinuxProcessList.h2
-rw-r--r--linux/Platform.c2
-rw-r--r--linux/Platform.h2
9 files changed, 10 insertions, 10 deletions
diff --git a/CRT.h b/CRT.h
index f5fd9452..5361457c 100644
--- a/CRT.h
+++ b/CRT.h
@@ -7,7 +7,7 @@ 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 <stdbool.h>
diff --git a/ProvideCurses.h b/ProvideCurses.h
index 06602ff0..26e2d3ae 100644
--- a/ProvideCurses.h
+++ b/ProvideCurses.h
@@ -8,7 +8,7 @@ in the source distribution for its full text.
*/
-#include "config.h"
+#include "config.h" // IWYU pragma: keep
// IWYU pragma: begin_exports
diff --git a/RichString.h b/RichString.h
index cbcbe48b..3284a75e 100644
--- a/RichString.h
+++ b/RichString.h
@@ -7,7 +7,7 @@ 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 "ProvideCurses.h"
diff --git a/generic/fdstat_sysctl.c b/generic/fdstat_sysctl.c
index 49e8e362..226797c7 100644
--- a/generic/fdstat_sysctl.c
+++ b/generic/fdstat_sysctl.c
@@ -5,6 +5,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "generic/fdstat_sysctl.h"
#include <math.h>
@@ -14,8 +16,6 @@ in the source distribution for its full text.
#include <sys/types.h> // Shitty FreeBSD upstream headers
#include <sys/sysctl.h>
-#include "config.h"
-
static void Generic_getFileDescriptors_sysctl_internal(
const char* sysctlname_maxfiles,
diff --git a/linux/LibSensors.c b/linux/LibSensors.c
index ff084b64..6b980fb1 100644
--- a/linux/LibSensors.c
+++ b/linux/LibSensors.c
@@ -1,6 +1,6 @@
#include "linux/LibSensors.h"
-#include "config.h"
+#include "config.h" // IWYU pragma: keep
#ifdef HAVE_SENSORS_SENSORS_H
diff --git a/linux/LinuxMachine.h b/linux/LinuxMachine.h
index 7dba905f..30817747 100644
--- a/linux/LinuxMachine.h
+++ b/linux/LinuxMachine.h
@@ -7,7 +7,7 @@ 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 <stdbool.h>
#include <sys/types.h>
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h
index 824de482..d026e00e 100644
--- a/linux/LinuxProcessList.h
+++ b/linux/LinuxProcessList.h
@@ -7,7 +7,7 @@ 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 <stdbool.h>
#include <sys/types.h>
diff --git a/linux/Platform.c b/linux/Platform.c
index 693044af..955f080b 100644
--- a/linux/Platform.c
+++ b/linux/Platform.c
@@ -6,7 +6,7 @@ in the source distribution for its full text.
*/
#include "ZramMeter.h"
-#include "config.h"
+#include "config.h" // IWYU pragma: keep
#include "linux/Platform.h"
diff --git a/linux/Platform.h b/linux/Platform.h
index 1621d562..4a69907e 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -7,7 +7,7 @@ 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 <limits.h>
#include <stdbool.h>

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