diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-19 18:10:03 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-12-19 21:13:32 +0100 |
commit | f614b8a19fe92cd13862605c16d69aa23c8b9bd1 (patch) | |
tree | 8f90a41b32acf8947b2272893e7332ebafcdee67 /solaris | |
parent | c150e4bde9080799c7c9f115565c8324faa953be (diff) |
Mark Platform_defaultFields const
Diffstat (limited to 'solaris')
-rw-r--r-- | solaris/Platform.c | 2 | ||||
-rw-r--r-- | solaris/Platform.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c index b674998b..09747cd4 100644 --- a/solaris/Platform.c +++ b/solaris/Platform.c @@ -86,7 +86,7 @@ const SignalItem Platform_signals[] = { const unsigned int Platform_numberOfSignals = ARRAYSIZE(Platform_signals); -ProcessField Platform_defaultFields[] = { PID, LWPID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; +const ProcessField Platform_defaultFields[] = { PID, LWPID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; const MeterClass* const Platform_meterTypes[] = { &CPUMeter_class, diff --git a/solaris/Platform.h b/solaris/Platform.h index 4daf7164..de2b2c92 100644 --- a/solaris/Platform.h +++ b/solaris/Platform.h @@ -40,7 +40,7 @@ extern const SignalItem Platform_signals[]; extern const unsigned int Platform_numberOfSignals; -extern ProcessField Platform_defaultFields[]; +extern const ProcessField Platform_defaultFields[]; extern const MeterClass* const Platform_meterTypes[]; |