summaryrefslogtreecommitdiffstats
path: root/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'darwin')
-rw-r--r--darwin/Platform.c2
-rw-r--r--darwin/Platform.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c
index fabf5520..4d8ede32 100644
--- a/darwin/Platform.c
+++ b/darwin/Platform.c
@@ -94,7 +94,7 @@ ProcessFieldData Process_fields[] = {
[100] = { .name = "*** report bug! ***", .title = NULL, .description = NULL, .flags = 0, },
};
-MeterClass* Platform_meterTypes[] = {
+const MeterClass* const Platform_meterTypes[] = {
&CPUMeter_class,
&ClockMeter_class,
&DateMeter_class,
diff --git a/darwin/Platform.h b/darwin/Platform.h
index ba779976..9b7a324b 100644
--- a/darwin/Platform.h
+++ b/darwin/Platform.h
@@ -22,7 +22,7 @@ extern const unsigned int Platform_numberOfSignals;
extern ProcessFieldData Process_fields[];
-extern MeterClass* Platform_meterTypes[];
+extern const MeterClass* const Platform_meterTypes[];
void Platform_setBindings(Htop_Action* keys);