diff options
author | Nathan Scott <nathans@redhat.com> | 2021-06-07 13:46:29 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-06-09 17:09:29 +1000 |
commit | 144fd0a8d7c65a5b5bb2a0bd0a86750615bff4df (patch) | |
tree | 67196ef7f1384f0f37d1aaa8f015990fd8387189 /pcp | |
parent | 4bcb5d116bd371fb72e8c43335316184fb8febd9 (diff) |
Update platform-specific header includes to use pcp paths.
Resolves a couple of remaining review notes from @BenBE.
Diffstat (limited to 'pcp')
-rw-r--r-- | pcp/PCPProcess.c | 2 | ||||
-rw-r--r-- | pcp/PCPProcessList.c | 5 | ||||
-rw-r--r-- | pcp/Platform.c | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/pcp/PCPProcess.c b/pcp/PCPProcess.c index 3b66a301..5947ee12 100644 --- a/pcp/PCPProcess.c +++ b/pcp/PCPProcess.c @@ -7,7 +7,7 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "PCPProcess.h" +#include "pcp/PCPProcess.h" #include <math.h> #include <stdio.h> diff --git a/pcp/PCPProcessList.c b/pcp/PCPProcessList.c index 0985ad2c..c7582ff6 100644 --- a/pcp/PCPProcessList.c +++ b/pcp/PCPProcessList.c @@ -9,18 +9,19 @@ in the source distribution for its full text. #include "config.h" // IWYU pragma: keep -#include "PCPProcessList.h" +#include "pcp/PCPProcessList.h" #include <math.h> #include "CRT.h" #include "Macros.h" #include "Object.h" -#include "PCPProcess.h" #include "Process.h" #include "Settings.h" #include "XUtils.h" +#include "pcp/PCPProcess.h" + static int PCPProcessList_computeCPUcount(void) { int cpus; diff --git a/pcp/Platform.c b/pcp/Platform.c index f4d538df..1c2432ca 100644 --- a/pcp/Platform.c +++ b/pcp/Platform.c @@ -9,7 +9,7 @@ in the source distribution for its full text. #include "config.h" // IWYU pragma: keep -#include "Platform.h" +#include "pcp/Platform.h" #include <math.h> @@ -29,8 +29,6 @@ in the source distribution for its full text. #include "NetworkIOMeter.h" #include "Object.h" #include "Panel.h" -#include "PCPProcess.h" -#include "PCPProcessList.h" #include "ProcessList.h" #include "ProvideCurses.h" #include "Settings.h" @@ -43,6 +41,8 @@ in the source distribution for its full text. #include "linux/PressureStallMeter.h" #include "linux/ZramMeter.h" #include "linux/ZramStats.h" +#include "pcp/PCPProcess.h" +#include "pcp/PCPProcessList.h" #include "zfs/ZfsArcMeter.h" #include "zfs/ZfsArcStats.h" #include "zfs/ZfsCompressedArcMeter.h" |