mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Mark ScreenDefaults const
This commit is contained in:

committed by
cgzones

parent
14f428a172
commit
6e9a5e9e49
@ -46,7 +46,7 @@ in the source distribution for its full text.
|
||||
#include "openbsd/OpenBSDProcessList.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",
|
||||
|
@ -26,7 +26,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;
|
||||
|
||||
|
Reference in New Issue
Block a user