summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-12-11 10:04:39 +0100
committerBenBE <BenBE@geshi.org>2023-12-26 15:14:19 +0100
commit6490590dc8510ea1cc89cec666020c83af1046b5 (patch)
tree5acc3fe94bcf99bcda19e14b329341f8852fa6bb /linux
parentcf9abeb695f2fb62bb27fd36f393e3216ab1927a (diff)
Relocate include of config.h from header to source modeule
Diffstat (limited to 'linux')
-rw-r--r--linux/HugePageMeter.c2
-rw-r--r--linux/LinuxMachine.h2
-rw-r--r--linux/LinuxProcess.h2
-rw-r--r--linux/LinuxProcessTable.h2
-rw-r--r--linux/Platform.h2
-rw-r--r--linux/ZramMeter.c2
6 files changed, 4 insertions, 8 deletions
diff --git a/linux/HugePageMeter.c b/linux/HugePageMeter.c
index 3860ead6..058ab4b6 100644
--- a/linux/HugePageMeter.c
+++ b/linux/HugePageMeter.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 "linux/HugePageMeter.h"
#include <assert.h>
diff --git a/linux/LinuxMachine.h b/linux/LinuxMachine.h
index b21a9848..309b4850 100644
--- a/linux/LinuxMachine.h
+++ b/linux/LinuxMachine.h
@@ -7,8 +7,6 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
-#include "config.h" // IWYU pragma: keep
-
#include <stdbool.h>
#include "Machine.h"
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h
index 7c6e2d44..388e50d3 100644
--- a/linux/LinuxProcess.h
+++ b/linux/LinuxProcess.h
@@ -8,8 +8,6 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
-#include "config.h" // IWYU pragma: keep
-
#include <stdbool.h>
#include "Machine.h"
diff --git a/linux/LinuxProcessTable.h b/linux/LinuxProcessTable.h
index 76d9a2d1..b87f9b0a 100644
--- a/linux/LinuxProcessTable.h
+++ b/linux/LinuxProcessTable.h
@@ -7,8 +7,6 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
-#include "config.h" // IWYU pragma: keep
-
#include <stdbool.h>
#include "ProcessTable.h"
diff --git a/linux/Platform.h b/linux/Platform.h
index ccf14f28..e99d1a22 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -7,8 +7,6 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
-#include "config.h" // IWYU pragma: keep
-
#include <limits.h>
#include <stdbool.h>
#include <stddef.h>
diff --git a/linux/ZramMeter.c b/linux/ZramMeter.c
index f24aaed7..8329f014 100644
--- a/linux/ZramMeter.c
+++ b/linux/ZramMeter.c
@@ -6,6 +6,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 "linux/ZramMeter.h"
#include <stddef.h>

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