diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-10-20 17:20:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-10-20 17:20:01 -0400 |
commit | 7597fc25a2743d49500926a286da71f8e033936c (patch) | |
tree | 25f902fe91240235623e6fde718f285d16b518aa /include/time.h | |
parent | 2ed4e9d9279117ffa50294095e172804cd1b68e5 (diff) | |
download | musl-7597fc25a2743d49500926a286da71f8e033936c.tar.gz musl-7597fc25a2743d49500926a286da71f8e033936c.tar.xz musl-7597fc25a2743d49500926a286da71f8e033936c.zip |
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.h | 3 |
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 |