mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Covert Meter attributes to file-local constant arrays
This commit is contained in:

committed by
cgzones

parent
843949131a
commit
6db2d52261
11
CPUMeter.c
11
CPUMeter.c
@ -16,8 +16,15 @@ in the source distribution for its full text.
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
int CPUMeter_attributes[] = {
|
||||
CPU_NICE, CPU_NORMAL, CPU_SYSTEM, CPU_IRQ, CPU_SOFTIRQ, CPU_STEAL, CPU_GUEST, CPU_IOWAIT
|
||||
static const int CPUMeter_attributes[] = {
|
||||
CPU_NICE,
|
||||
CPU_NORMAL,
|
||||
CPU_SYSTEM,
|
||||
CPU_IRQ,
|
||||
CPU_SOFTIRQ,
|
||||
CPU_STEAL,
|
||||
CPU_GUEST,
|
||||
CPU_IOWAIT
|
||||
};
|
||||
|
||||
static void CPUMeter_init(Meter* this) {
|
||||
|
Reference in New Issue
Block a user