Fixes minor whitespace issues and re-arrange headers to conform to style guide.

This commit is contained in:
fraggerfox 2021-05-24 22:57:59 +05:30 committed by BenBE
parent 9de463e756
commit 58a895e54c
4 changed files with 6 additions and 4 deletions

View File

@ -27,11 +27,11 @@ in the source distribution for its full text.
#include "CRT.h" #include "CRT.h"
#include "Macros.h" #include "Macros.h"
#include "Object.h" #include "Object.h"
#include "netbsd/NetBSDProcess.h"
#include "Process.h" #include "Process.h"
#include "ProcessList.h" #include "ProcessList.h"
#include "Settings.h" #include "Settings.h"
#include "XUtils.h" #include "XUtils.h"
#include "netbsd/NetBSDProcess.h"
static long fscale; static long fscale;

View File

@ -44,7 +44,6 @@ typedef struct NetBSDProcessList_ {
kvm_t* kd; kvm_t* kd;
CPUData* cpus; CPUData* cpus;
} NetBSDProcessList; } NetBSDProcessList;

View File

@ -31,8 +31,6 @@ in the source distribution for its full text.
#include "Macros.h" #include "Macros.h"
#include "MemoryMeter.h" #include "MemoryMeter.h"
#include "Meter.h" #include "Meter.h"
#include "netbsd/NetBSDProcess.h"
#include "netbsd/NetBSDProcessList.h"
#include "ProcessList.h" #include "ProcessList.h"
#include "Settings.h" #include "Settings.h"
#include "SignalsPanel.h" #include "SignalsPanel.h"
@ -41,6 +39,8 @@ in the source distribution for its full text.
#include "TasksMeter.h" #include "TasksMeter.h"
#include "UptimeMeter.h" #include "UptimeMeter.h"
#include "XUtils.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 }; const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };

View File

@ -11,6 +11,9 @@ in the source distribution for its full text.
*/ */
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include "Action.h" #include "Action.h"