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

@ -31,7 +31,7 @@ in the source distribution for its full text.
#include <math.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 };
const SignalItem Platform_signals[] = {
{ .name = " 0 Cancel", .number = 0 },

View File

@ -18,7 +18,7 @@ in the source distribution for its full text.
#include "SignalsPanel.h"
extern ProcessField Platform_defaultFields[];
extern const ProcessField Platform_defaultFields[];
extern const SignalItem Platform_signals[];