summaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-10-20 17:20:01 -0400
committerRich Felker <dalias@aerifal.cx>2016-10-20 17:20:01 -0400
commit7597fc25a2743d49500926a286da71f8e033936c (patch)
tree25f902fe91240235623e6fde718f285d16b518aa /include/time.h
parent2ed4e9d9279117ffa50294095e172804cd1b68e5 (diff)
downloadmusl-7597fc25a2743d49500926a286da71f8e033936c.tar.gz
fix various header namespace issues under feature-test-macro control
reported and changes suggested by Daniel Sabogal.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h
index a408679c..672b3fc3 100644
--- a/include/time.h
+++ b/include/time.h
@@ -111,6 +111,8 @@ int timer_settime (timer_t, int, const struct itimerspec *__restrict, struct iti
int timer_gettime (timer_t, struct itimerspec *);
int timer_getoverrun (timer_t);
+extern char *tzname[2];
+
#endif
@@ -118,7 +120,6 @@ int timer_getoverrun (timer_t);
char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
extern int daylight;
extern long timezone;
-extern char *tzname[2];
extern int getdate_err;
struct tm *getdate (const char *);
#endif