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 /openbsd | |
parent | c150e4bde9080799c7c9f115565c8324faa953be (diff) |
Mark Platform_defaultFields const
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/Platform.c | 2 | ||||
-rw-r--r-- | openbsd/Platform.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c index 30a58ec4..8ee81411 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.c @@ -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 diff --git a/openbsd/Platform.h b/openbsd/Platform.h index 4774f921..e7a59662 100644 --- a/openbsd/Platform.h +++ b/openbsd/Platform.h @@ -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[]; |