diff options
author | Nathan Scott <nathans@redhat.com> | 2023-10-10 20:45:54 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-10-10 20:45:54 +1100 |
commit | 43cb4a57d6eca089358dbf974070dd7d33ccc337 (patch) | |
tree | 98908ca73d09f3a86ff74c71dae2e6f4e94a6ca3 /generic | |
parent | 4103c23327359a0bd6385c2f891554f206fec397 (diff) | |
parent | 8e4ce18ba8d1fd11c17631eff785340219136091 (diff) |
Merge branch 'style-header-consistency' of https://github.com/BenBE/htop into BenBE-style-header-consistency
Diffstat (limited to 'generic')
-rw-r--r-- | generic/fdstat_sysctl.c | 4 | ||||
-rw-r--r-- | generic/gettime.c | 1 | ||||
-rw-r--r-- | generic/hostname.c | 1 | ||||
-rw-r--r-- | generic/uname.c | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/generic/fdstat_sysctl.c b/generic/fdstat_sysctl.c index 432114c2..ea374fb2 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/generic/gettime.c b/generic/gettime.c index b7c4885e..209f5232 100644 --- a/generic/gettime.c +++ b/generic/gettime.c @@ -4,6 +4,7 @@ htop - generic/gettime.c 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/gettime.h" diff --git a/generic/hostname.c b/generic/hostname.c index 69a41468..e3275828 100644 --- a/generic/hostname.c +++ b/generic/hostname.c @@ -4,6 +4,7 @@ htop - generic/hostname.c 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/hostname.h" diff --git a/generic/uname.c b/generic/uname.c index 2a734dc1..b5bb5834 100644 --- a/generic/uname.c +++ b/generic/uname.c @@ -4,6 +4,7 @@ htop - generic/uname.c 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/uname.h" |