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
@ -17,8 +17,10 @@ in the source distribution for its full text.
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
int MemoryMeter_attributes[] = {
|
||||
MEMORY_USED, MEMORY_BUFFERS, MEMORY_CACHE
|
||||
static const int MemoryMeter_attributes[] = {
|
||||
MEMORY_USED,
|
||||
MEMORY_BUFFERS,
|
||||
MEMORY_CACHE
|
||||
};
|
||||
|
||||
static void MemoryMeter_updateValues(Meter* this, char* buffer, int size) {
|
||||
|
Reference in New Issue
Block a user