mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34:35 +03:00
Mark Object instances const
This commit is contained in:

committed by
cgzones

parent
08d85e6143
commit
ba282cfe19
@ -94,7 +94,7 @@ ProcessFieldData Process_fields[] = {
|
||||
[100] = { .name = "*** report bug! ***", .title = NULL, .description = NULL, .flags = 0, },
|
||||
};
|
||||
|
||||
MeterClass* Platform_meterTypes[] = {
|
||||
const MeterClass* const Platform_meterTypes[] = {
|
||||
&CPUMeter_class,
|
||||
&ClockMeter_class,
|
||||
&DateMeter_class,
|
||||
|
@ -22,7 +22,7 @@ extern const unsigned int Platform_numberOfSignals;
|
||||
|
||||
extern ProcessFieldData Process_fields[];
|
||||
|
||||
extern MeterClass* Platform_meterTypes[];
|
||||
extern const MeterClass* const Platform_meterTypes[];
|
||||
|
||||
void Platform_setBindings(Htop_Action* keys);
|
||||
|
||||
|
Reference in New Issue
Block a user