From b3cf54e3f94bfa7c6e519b12123e71fa1902719c Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Wed, 24 May 2023 09:39:04 +0200 Subject: Always mark config.h with IWYU pragma: keep --- CRT.h | 2 +- ProvideCurses.h | 2 +- RichString.h | 2 +- generic/fdstat_sysctl.c | 4 ++-- linux/LibSensors.c | 2 +- linux/LinuxMachine.h | 2 +- linux/LinuxProcessList.h | 2 +- linux/Platform.c | 2 +- linux/Platform.h | 2 +- 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 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 @@ -14,8 +16,6 @@ in the source distribution for its full text. #include // Shitty FreeBSD upstream headers #include -#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 #include 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 #include 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 #include -- cgit v1.2.3