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 --- dragonflybsd/DragonFlyBSDProcess.c | 10 ++++----- dragonflybsd/DragonFlyBSDProcessList.c | 6 +++--- dragonflybsd/DragonFlyBSDProcessList.h | 3 ++- dragonflybsd/Platform.c | 39 +++++++++++++++++----------------- 4 files changed, 30 insertions(+), 28 deletions(-) (limited to 'dragonflybsd') diff --git a/dragonflybsd/DragonFlyBSDProcess.c b/dragonflybsd/DragonFlyBSDProcess.c index 9b30a334..7b33605a 100644 --- a/dragonflybsd/DragonFlyBSDProcess.c +++ b/dragonflybsd/DragonFlyBSDProcess.c @@ -6,17 +6,17 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "Process.h" -#include "ProcessList.h" -#include "DragonFlyBSDProcess.h" -#include "Platform.h" -#include "CRT.h" +#include "dragonflybsd/DragonFlyBSDProcess.h" #include #include #include #include +#include "Process.h" +#include "ProcessList.h" +#include "dragonflybsd/Platform.h" +#include "CRT.h" const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { [0] = { .name = "", .title = NULL, .description = NULL, .flags = 0, }, diff --git a/dragonflybsd/DragonFlyBSDProcessList.c b/dragonflybsd/DragonFlyBSDProcessList.c index 935444e3..71ba594e 100644 --- a/dragonflybsd/DragonFlyBSDProcessList.c +++ b/dragonflybsd/DragonFlyBSDProcessList.c @@ -6,9 +6,7 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "ProcessList.h" -#include "DragonFlyBSDProcessList.h" -#include "DragonFlyBSDProcess.h" +#include "dragonflybsd/DragonFlyBSDProcessList.h" #include #include @@ -22,6 +20,8 @@ in the source distribution for its full text. #include "CRT.h" #include "Macros.h" +#include "ProcessList.h" +#include "dragonflybsd/DragonFlyBSDProcess.h" static int MIB_hw_physmem[2]; diff --git a/dragonflybsd/DragonFlyBSDProcessList.h b/dragonflybsd/DragonFlyBSDProcessList.h index 80fb9f38..d596054c 100644 --- a/dragonflybsd/DragonFlyBSDProcessList.h +++ b/dragonflybsd/DragonFlyBSDProcessList.h @@ -15,7 +15,8 @@ in the source distribution for its full text. #include #include #include "Hashtable.h" -#include "DragonFlyBSDProcess.h" + +#include "dragonflybsd/DragonFlyBSDProcess.h" typedef struct CPUData_ { diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c index 14fbbf0f..f81078d7 100644 --- a/dragonflybsd/Platform.c +++ b/dragonflybsd/Platform.c @@ -6,30 +6,31 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "Platform.h" -#include "Macros.h" -#include "Meter.h" -#include "CPUMeter.h" -#include "MemoryMeter.h" -#include "SwapMeter.h" -#include "TasksMeter.h" -#include "LoadAverageMeter.h" -#include "UptimeMeter.h" +#include "dragonflybsd/Platform.h" + +#include +#include +#include +#include +#include +#include +#include + #include "ClockMeter.h" +#include "CPUMeter.h" #include "DateMeter.h" #include "DateTimeMeter.h" #include "HostnameMeter.h" +#include "LoadAverageMeter.h" +#include "Macros.h" +#include "MemoryMeter.h" +#include "Meter.h" +#include "SwapMeter.h" #include "SysArchMeter.h" -#include "DragonFlyBSDProcess.h" -#include "DragonFlyBSDProcessList.h" - -#include -#include -#include -#include -#include -#include -#include +#include "TasksMeter.h" +#include "UptimeMeter.h" +#include "dragonflybsd/DragonFlyBSDProcess.h" +#include "dragonflybsd/DragonFlyBSDProcessList.h" const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; -- cgit v1.2.3