summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-05 13:54:33 +0200
committercgzones <cgzones@googlemail.com>2020-10-05 13:59:05 +0200
commitdc6523bf60df8a1f7428b8cc3638eaddb46a3980 (patch)
treece7d363f60cf8d0e764b0ba08514f5e1d454d5df
parentd93cac12be1a7a580e338c6fa80286bfa703ffc6 (diff)
DateMeter followup
-rw-r--r--DateMeter.c2
-rw-r--r--DateMeter.h2
-rw-r--r--DateTimeMeter.c2
-rw-r--r--DateTimeMeter.h2
4 files changed, 2 insertions, 6 deletions
diff --git a/DateMeter.c b/DateMeter.c
index 6fd93373..e130159a 100644
--- a/DateMeter.c
+++ b/DateMeter.c
@@ -12,7 +12,7 @@ in the source distribution for its full text.
#include <time.h>
-int DateMeter_attributes[] = {
+static const int DateMeter_attributes[] = {
DATE
};
diff --git a/DateMeter.h b/DateMeter.h
index 6cb899dd..44ed24da 100644
--- a/DateMeter.h
+++ b/DateMeter.h
@@ -9,8 +9,6 @@ in the source distribution for its full text.
#include "Meter.h"
-extern int DateMeter_attributes[];
-
extern MeterClass DateMeter_class;
#endif
diff --git a/DateTimeMeter.c b/DateTimeMeter.c
index 5c60884a..32dd5d1a 100644
--- a/DateTimeMeter.c
+++ b/DateTimeMeter.c
@@ -12,7 +12,7 @@ in the source distribution for its full text.
#include <time.h>
-int DateTimeMeter_attributes[] = {
+static const int DateTimeMeter_attributes[] = {
DATETIME
};
diff --git a/DateTimeMeter.h b/DateTimeMeter.h
index 6d1e3a68..ef25264c 100644
--- a/DateTimeMeter.h
+++ b/DateTimeMeter.h
@@ -9,8 +9,6 @@ in the source distribution for its full text.
#include "Meter.h"
-extern int DateTimeMeter_attributes[];
-
extern MeterClass DateTimeMeter_class;
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy