summaryrefslogtreecommitdiffstats
path: root/MemoryMeter.c
diff options
context:
space:
mode:
Diffstat (limited to 'MemoryMeter.c')
-rw-r--r--MemoryMeter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/MemoryMeter.c b/MemoryMeter.c
index 91f75b9c..cac0da72 100644
--- a/MemoryMeter.c
+++ b/MemoryMeter.c
@@ -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) {