summaryrefslogtreecommitdiffstats
path: root/solaris
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-12-16 15:40:50 +0100
committercgzones <cgzones@googlemail.com>2021-12-17 14:45:15 +0100
commit6e9a5e9e49939daa8097a72dc9210b5e964af4b6 (patch)
treec4d8855b1a564ab756a74bbb7da8268d073384b6 /solaris
parent14f428a1721a7b179be7b650135ec591c215564e (diff)
Mark ScreenDefaults const
Diffstat (limited to 'solaris')
-rw-r--r--solaris/Platform.c2
-rw-r--r--solaris/Platform.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c
index 15917c94..e852ccfc 100644
--- a/solaris/Platform.c
+++ b/solaris/Platform.c
@@ -40,7 +40,7 @@ in the source distribution for its full text.
#include "SolarisProcessList.h"
-ScreenDefaults Platform_defaultScreens[] = {
+const ScreenDefaults Platform_defaultScreens[] = {
{
.name = "Default",
.columns = "PID LWPID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME COMM",
diff --git a/solaris/Platform.h b/solaris/Platform.h
index 6bd8179b..1b3dc9f5 100644
--- a/solaris/Platform.h
+++ b/solaris/Platform.h
@@ -52,7 +52,7 @@ typedef struct envAccum_ {
char* env;
} envAccum;
-extern ScreenDefaults Platform_defaultScreens[];
+extern const ScreenDefaults Platform_defaultScreens[];
extern const unsigned int Platform_numberOfDefaultScreens;

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