summaryrefslogtreecommitdiffstats
path: root/solaris
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 /solaris
parentcf9abeb695f2fb62bb27fd36f393e3216ab1927a (diff)
Relocate include of config.h from header to source modeule
Diffstat (limited to 'solaris')
-rw-r--r--solaris/Platform.h2
-rw-r--r--solaris/SolarisMachine.c1
-rw-r--r--solaris/SolarisMachine.h2
-rw-r--r--solaris/SolarisProcess.c2
-rw-r--r--solaris/SolarisProcess.h2
-rw-r--r--solaris/SolarisProcessTable.c1
-rw-r--r--solaris/SolarisProcessTable.h2
7 files changed, 4 insertions, 8 deletions
diff --git a/solaris/Platform.h b/solaris/Platform.h
index 88ea417d..1a31c2e7 100644
--- a/solaris/Platform.h
+++ b/solaris/Platform.h
@@ -9,8 +9,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 <kstat.h>
/* On OmniOS /usr/include/sys/regset.h redefines ERR to 13 - \r, breaking the Enter key.
diff --git a/solaris/SolarisMachine.c b/solaris/SolarisMachine.c
index b9da8afd..4f740d32 100644
--- a/solaris/SolarisMachine.c
+++ b/solaris/SolarisMachine.c
@@ -6,6 +6,7 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
#include "solaris/SolarisMachine.h"
diff --git a/solaris/SolarisMachine.h b/solaris/SolarisMachine.h
index 3f0050f5..2208a888 100644
--- a/solaris/SolarisMachine.h
+++ b/solaris/SolarisMachine.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 <kstat.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/solaris/SolarisProcess.c b/solaris/SolarisProcess.c
index 5a11011d..449861b2 100644
--- a/solaris/SolarisProcess.c
+++ b/solaris/SolarisProcess.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 "solaris/SolarisProcess.h"
#include <stdlib.h>
diff --git a/solaris/SolarisProcess.h b/solaris/SolarisProcess.h
index 6bb3ca1c..1a8d18c7 100644
--- a/solaris/SolarisProcess.h
+++ b/solaris/SolarisProcess.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 <zone.h>
#include <sys/proc.h>
diff --git a/solaris/SolarisProcessTable.c b/solaris/SolarisProcessTable.c
index 2d9e6a71..549c753c 100644
--- a/solaris/SolarisProcessTable.c
+++ b/solaris/SolarisProcessTable.c
@@ -6,6 +6,7 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
#include "solaris/SolarisProcessTable.h"
diff --git a/solaris/SolarisProcessTable.h b/solaris/SolarisProcessTable.h
index 40480498..7c5ae8f3 100644
--- a/solaris/SolarisProcessTable.h
+++ b/solaris/SolarisProcessTable.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 <kstat.h>
#include <stdbool.h>
#include <stdint.h>

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