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 --- linux/Platform.c | 2 +- linux/Platform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'linux') diff --git a/linux/Platform.c b/linux/Platform.c index 8253817a..2200e478 100644 --- a/linux/Platform.c +++ b/linux/Platform.c @@ -83,7 +83,7 @@ enum CapMode { }; #endif -ScreenDefaults Platform_defaultScreens[] = { +const ScreenDefaults Platform_defaultScreens[] = { { .name = "Main", .columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME COMM", diff --git a/linux/Platform.h b/linux/Platform.h index 5c16e70f..f2c314f5 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -38,7 +38,7 @@ in the source distribution for its full text. #endif -extern ScreenDefaults Platform_defaultScreens[]; +extern const ScreenDefaults Platform_defaultScreens[]; extern const unsigned int Platform_numberOfDefaultScreens; -- cgit v1.2.3