Covert Meter attributes to file-local constant arrays

This commit is contained in:
Christian Göttsche
2020-09-28 12:23:07 +02:00
committed by cgzones
parent 843949131a
commit 6db2d52261
20 changed files with 31 additions and 37 deletions

View File

@ -11,8 +11,11 @@ in the source distribution for its full text.
#include "CRT.h"
int TasksMeter_attributes[] = {
CPU_SYSTEM, PROCESS_THREAD, PROCESS, TASKS_RUNNING
static const int TasksMeter_attributes[] = {
CPU_SYSTEM,
PROCESS_THREAD,
PROCESS,
TASKS_RUNNING
};
static void TasksMeter_updateValues(Meter* this, char* buffer, int len) {