From 6e9a5e9e49939daa8097a72dc9210b5e964af4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 16 Dec 2021 15:40:50 +0100 Subject: Mark ScreenDefaults const --- netbsd/Platform.c | 2 +- netbsd/Platform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'netbsd') diff --git a/netbsd/Platform.c b/netbsd/Platform.c index d95be9d9..f442fe78 100644 --- a/netbsd/Platform.c +++ b/netbsd/Platform.c @@ -66,7 +66,7 @@ in the source distribution for its full text. #define prop_number_signed_value prop_number_integer_value #endif -ScreenDefaults Platform_defaultScreens[] = { +const ScreenDefaults Platform_defaultScreens[] = { { .name = "Main", .columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME COMM", diff --git a/netbsd/Platform.h b/netbsd/Platform.h index 428eb15a..3ad51e28 100644 --- a/netbsd/Platform.h +++ b/netbsd/Platform.h @@ -34,7 +34,7 @@ in the source distribution for its full text. #define PLATFORM_LONG_OPTIONS \ // End of list -extern ScreenDefaults Platform_defaultScreens[]; +extern const ScreenDefaults Platform_defaultScreens[]; extern const unsigned int Platform_numberOfDefaultScreens; -- cgit v1.2.3