Mark ScreenDefaults const

This commit is contained in:
Christian Göttsche
2021-12-16 15:40:50 +01:00
committed by cgzones
parent 14f428a172
commit 6e9a5e9e49
17 changed files with 17 additions and 17 deletions

View File

@ -32,7 +32,7 @@ in the source distribution for its full text.
#include "dragonflybsd/DragonFlyBSDProcess.h"
#include "dragonflybsd/DragonFlyBSDProcessList.h"
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",

View File

@ -29,7 +29,7 @@ in the source distribution for its full text.
#include "generic/uname.h"
extern ScreenDefaults Platform_defaultScreens[];
extern const ScreenDefaults Platform_defaultScreens[];
extern const unsigned int Platform_numberOfDefaultScreens;