summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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