From 58a895e54cf846b8dcbe63cdd929194e68a710ea Mon Sep 17 00:00:00 2001 From: fraggerfox Date: Mon, 24 May 2021 22:57:59 +0530 Subject: [PATCH] Fixes minor whitespace issues and re-arrange headers to conform to style guide. --- netbsd/NetBSDProcessList.c | 2 +- netbsd/NetBSDProcessList.h | 1 - netbsd/Platform.c | 4 ++-- netbsd/Platform.h | 3 +++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/netbsd/NetBSDProcessList.c b/netbsd/NetBSDProcessList.c index 6058fe80..c196f1ee 100644 --- a/netbsd/NetBSDProcessList.c +++ b/netbsd/NetBSDProcessList.c @@ -27,11 +27,11 @@ in the source distribution for its full text. #include "CRT.h" #include "Macros.h" #include "Object.h" -#include "netbsd/NetBSDProcess.h" #include "Process.h" #include "ProcessList.h" #include "Settings.h" #include "XUtils.h" +#include "netbsd/NetBSDProcess.h" static long fscale; diff --git a/netbsd/NetBSDProcessList.h b/netbsd/NetBSDProcessList.h index 11a8654c..ecb486f1 100644 --- a/netbsd/NetBSDProcessList.h +++ b/netbsd/NetBSDProcessList.h @@ -44,7 +44,6 @@ typedef struct NetBSDProcessList_ { kvm_t* kd; CPUData* cpus; - } NetBSDProcessList; diff --git a/netbsd/Platform.c b/netbsd/Platform.c index 5f2a434e..3f88d4f2 100644 --- a/netbsd/Platform.c +++ b/netbsd/Platform.c @@ -31,8 +31,6 @@ in the source distribution for its full text. #include "Macros.h" #include "MemoryMeter.h" #include "Meter.h" -#include "netbsd/NetBSDProcess.h" -#include "netbsd/NetBSDProcessList.h" #include "ProcessList.h" #include "Settings.h" #include "SignalsPanel.h" @@ -41,6 +39,8 @@ in the source distribution for its full text. #include "TasksMeter.h" #include "UptimeMeter.h" #include "XUtils.h" +#include "netbsd/NetBSDProcess.h" +#include "netbsd/NetBSDProcessList.h" const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; diff --git a/netbsd/Platform.h b/netbsd/Platform.h index 6f5157f8..320ca5bf 100644 --- a/netbsd/Platform.h +++ b/netbsd/Platform.h @@ -11,6 +11,9 @@ in the source distribution for its full text. */ #include +#include +#include +#include #include #include "Action.h"