diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-01-05 23:42:55 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-01-11 20:12:34 +0100 |
commit | d72b0a682ecad0a8d5793022733447e855a61798 (patch) | |
tree | d9bc511bb716030fd73675bd3474e5a043636d73 /CPUMeter.c | |
parent | 1b2d48bc9aa93254c48d10bb34acde9596b526b9 (diff) |
Mark several non-modified pointer variables const
Diffstat (limited to 'CPUMeter.c')
-rw-r--r-- | CPUMeter.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -167,8 +167,8 @@ static void CPUMeter_display(const Object* cast, RichString* out) { #endif } -static void AllCPUsMeter_getRange(Meter* this, int* start, int* count) { - CPUMeterData* data = this->meterData; +static void AllCPUsMeter_getRange(const Meter* this, int* start, int* count) { + const CPUMeterData* data = this->meterData; int cpus = data->cpus; switch(Meter_name(this)[0]) { default: |