summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/Platform.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-19 18:10:03 +0100
committercgzones <cgzones@googlemail.com>2020-12-19 21:13:32 +0100
commitf614b8a19fe92cd13862605c16d69aa23c8b9bd1 (patch)
tree8f90a41b32acf8947b2272893e7332ebafcdee67 /dragonflybsd/Platform.c
parentc150e4bde9080799c7c9f115565c8324faa953be (diff)
Mark Platform_defaultFields const
Diffstat (limited to 'dragonflybsd/Platform.c')
-rw-r--r--dragonflybsd/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c
index 6f2d7bdc..8ce216c1 100644
--- a/dragonflybsd/Platform.c
+++ b/dragonflybsd/Platform.c
@@ -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 },

© 2014-2024 Faster IT GmbH | imprint | privacy policy