fix various header namespace issues under feature-test-macro control

reported and changes suggested by Daniel Sabogal.
This commit is contained in:
Rich Felker
2016-10-20 17:20:01 -04:00
parent 2ed4e9d927
commit 7597fc25a2
6 changed files with 18 additions and 7 deletions

View File

@ -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