Mark Platform_defaultFields const

This commit is contained in:
Christian Göttsche
2020-12-19 18:10:03 +01:00
committed by cgzones
parent c150e4bde9
commit f614b8a19f
15 changed files with 15 additions and 15 deletions

View File

@ -42,7 +42,7 @@ in the source distribution for its full text.
#include "XUtils.h"
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 };
/*
* See /usr/include/sys/signal.h

View File

@ -20,7 +20,7 @@ in the source distribution for its full text.
#include "SignalsPanel.h"
extern ProcessField Platform_defaultFields[];
extern const ProcessField Platform_defaultFields[];
/* see /usr/include/sys/signal.h */
extern const SignalItem Platform_signals[];