From 3f86a011e6804e2fc94c3dbc9c627d0f468d787a Mon Sep 17 00:00:00 2001 From: mayurdahibhate Date: Thu, 29 Apr 2021 23:43:36 +0530 Subject: platform-dependent files included relative to main source directory --- darwin/DarwinProcess.c | 4 ++-- darwin/DarwinProcess.h | 3 +-- darwin/DarwinProcessList.c | 6 +++--- darwin/Platform.c | 4 ++-- darwin/Platform.h | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) (limited to 'darwin') 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 #include @@ -14,8 +14,8 @@ in the source distribution for its full text. #include #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 -#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 #include @@ -19,9 +19,9 @@ in the source distribution for its full text. #include #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 #include @@ -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" -- cgit v1.2.3