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

committed by
cgzones

parent
843949131a
commit
6db2d52261
@ -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) {
|
||||
|
Reference in New Issue
Block a user