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

committed by
cgzones

parent
08d85e6143
commit
ba282cfe19
@ -87,7 +87,7 @@ const unsigned int Platform_numberOfSignals = sizeof(Platform_signals)/sizeof(Si
|
||||
|
||||
ProcessField Platform_defaultFields[] = { PID, LWPID, USER, PRIORITY, NICE, M_SIZE, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
||||
|
||||
MeterClass* Platform_meterTypes[] = {
|
||||
const MeterClass* const Platform_meterTypes[] = {
|
||||
&CPUMeter_class,
|
||||
&ClockMeter_class,
|
||||
&DateMeter_class,
|
||||
|
@ -37,7 +37,7 @@ extern const unsigned int Platform_numberOfSignals;
|
||||
|
||||
extern ProcessField Platform_defaultFields[];
|
||||
|
||||
extern MeterClass* Platform_meterTypes[];
|
||||
extern const MeterClass* const Platform_meterTypes[];
|
||||
|
||||
void Platform_setBindings(Htop_Action* keys);
|
||||
|
||||
|
Reference in New Issue
Block a user