diff options
author | mayurdahibhate <mayurdahibhate31@gmail.com> | 2021-04-29 23:43:36 +0530 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-10 18:40:53 +0200 |
commit | 3f86a011e6804e2fc94c3dbc9c627d0f468d787a (patch) | |
tree | 7fa321ae418138203dc187fc8b218492695015d3 /darwin | |
parent | 1b74dfe1877676b914af6dcedd2d7578164aab47 (diff) |
platform-dependent files included relative to main source directory
Diffstat (limited to 'darwin')
-rw-r--r-- | darwin/DarwinProcess.c | 4 | ||||
-rw-r--r-- | darwin/DarwinProcess.h | 3 | ||||
-rw-r--r-- | darwin/DarwinProcessList.c | 6 | ||||
-rw-r--r-- | darwin/Platform.c | 4 | ||||
-rw-r--r-- | darwin/Platform.h | 2 |
5 files changed, 9 insertions, 10 deletions
diff --git a/darwin/DarwinProcess.c b/darwin/DarwinProcess.c index 810b1fa0..9287641e 100644 --- a/darwin/DarwinProcess.c +++ b/darwin/DarwinProcess.c @@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "DarwinProcess.h" +#include "darwin/DarwinProcess.h" #include <libproc.h> #include <stdio.h> @@ -14,8 +14,8 @@ in the source distribution for its full text. #include <mach/mach.h> #include "CRT.h" -#include "Platform.h" #include "Process.h" +#include "darwin/Platform.h" const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { diff --git a/darwin/DarwinProcess.h b/darwin/DarwinProcess.h index f87dd182..3fbcc792 100644 --- a/darwin/DarwinProcess.h +++ b/darwin/DarwinProcess.h @@ -9,9 +9,8 @@ in the source distribution for its full text. #include <sys/sysctl.h> -#include "DarwinProcessList.h" #include "Settings.h" - +#include "darwin/DarwinProcessList.h" typedef struct DarwinProcess_ { Process super; diff --git a/darwin/DarwinProcessList.c b/darwin/DarwinProcessList.c index 27601f02..b50c5b8c 100644 --- a/darwin/DarwinProcessList.c +++ b/darwin/DarwinProcessList.c @@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "DarwinProcessList.h" +#include "darwin/DarwinProcessList.h" #include <errno.h> #include <libproc.h> @@ -19,9 +19,9 @@ in the source distribution for its full text. #include <sys/sysctl.h> #include "CRT.h" -#include "DarwinProcess.h" -#include "Platform.h" #include "ProcessList.h" +#include "darwin/DarwinProcess.h" +#include "darwin/Platform.h" #include "generic/openzfs_sysctl.h" #include "zfs/ZfsArcStats.h" diff --git a/darwin/Platform.c b/darwin/Platform.c index ca8df611..a983df9b 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -8,7 +8,7 @@ in the source distribution for its full text. #include "config.h" // IWYU pragma: keep -#include "Platform.h" +#include "darwin/Platform.h" #include <errno.h> #include <math.h> @@ -22,7 +22,6 @@ in the source distribution for its full text. #include "ClockMeter.h" #include "CPUMeter.h" #include "CRT.h" -#include "DarwinProcessList.h" #include "DateMeter.h" #include "DateTimeMeter.h" #include "HostnameMeter.h" @@ -34,6 +33,7 @@ in the source distribution for its full text. #include "SysArchMeter.h" #include "TasksMeter.h" #include "UptimeMeter.h" +#include "darwin/DarwinProcessList.h" #include "zfs/ZfsArcMeter.h" #include "zfs/ZfsCompressedArcMeter.h" diff --git a/darwin/Platform.h b/darwin/Platform.h index 902d27ef..694fd7dc 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -14,11 +14,11 @@ in the source distribution for its full text. #include "Action.h" #include "BatteryMeter.h" #include "CPUMeter.h" -#include "DarwinProcess.h" #include "DiskIOMeter.h" #include "NetworkIOMeter.h" #include "ProcessLocksScreen.h" #include "SignalsPanel.h" +#include "darwin/DarwinProcess.h" #include "generic/gettime.h" #include "generic/hostname.h" #include "generic/uname.h" |