mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 04:54:37 +03:00
Mark remaining classes const
This commit is contained in:

committed by
cgzones

parent
5cc20e7cb2
commit
7af06659e2
@ -23,7 +23,7 @@ in the source distribution for its full text.
|
||||
#include "Meter.h"
|
||||
}*/
|
||||
|
||||
int ZfsArcMeter_attributes[] = {
|
||||
static const int ZfsArcMeter_attributes[] = {
|
||||
ZFS_MFU, ZFS_MRU, ZFS_ANON, ZFS_HEADER, ZFS_OTHER
|
||||
};
|
||||
|
||||
@ -86,7 +86,7 @@ static void ZfsArcMeter_display(const Object* cast, RichString* out) {
|
||||
}
|
||||
}
|
||||
|
||||
MeterClass ZfsArcMeter_class = {
|
||||
const MeterClass ZfsArcMeter_class = {
|
||||
.super = {
|
||||
.extends = Class(Meter),
|
||||
.delete = Meter_delete,
|
||||
|
Reference in New Issue
Block a user