summaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
Diffstat (limited to 'src/time')
-rw-r--r--src/time/__time_h.c (renamed from src/time/__time.c)2
-rw-r--r--src/time/_time.h6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/time/__time.c b/src/time/__time_h.c
index de0c93fe..88312857 100644
--- a/src/time/__time.c
+++ b/src/time/__time_h.c
@@ -1,6 +1,6 @@
#include "_time.h"
-struct __time __time;
+struct __time_h __time_h = { 0 };
/*
STDC(-1)
diff --git a/src/time/_time.h b/src/time/_time.h
index b6d05212..76be4a7b 100644
--- a/src/time/_time.h
+++ b/src/time/_time.h
@@ -24,12 +24,10 @@
#define TZNAMELEN 64
-struct __time {
+extern struct __time_h {
char stdtz[TZNAMELEN];
char dsttz[TZNAMELEN];
-};
-
-extern struct __time __time;
+} __time_h;
/*
STDC(0)