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

committed by
cgzones

parent
c150e4bde9
commit
f614b8a19f
@ -31,7 +31,7 @@ in the source distribution for its full text.
|
||||
#include <math.h>
|
||||
|
||||
|
||||
ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
||||
const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
||||
|
||||
const SignalItem Platform_signals[] = {
|
||||
{ .name = " 0 Cancel", .number = 0 },
|
||||
|
@ -18,7 +18,7 @@ in the source distribution for its full text.
|
||||
#include "SignalsPanel.h"
|
||||
|
||||
|
||||
extern ProcessField Platform_defaultFields[];
|
||||
extern const ProcessField Platform_defaultFields[];
|
||||
|
||||
extern const SignalItem Platform_signals[];
|
||||
|
||||
|
Reference in New Issue
Block a user