From f614b8a19fe92cd13862605c16d69aa23c8b9bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 19 Dec 2020 18:10:03 +0100 Subject: Mark Platform_defaultFields const --- dragonflybsd/Platform.c | 2 +- dragonflybsd/Platform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dragonflybsd') 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 -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 }, diff --git a/dragonflybsd/Platform.h b/dragonflybsd/Platform.h index 51d4c2cf..3c5d9cb2 100644 --- a/dragonflybsd/Platform.h +++ b/dragonflybsd/Platform.h @@ -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[]; -- cgit v1.2.3