Add extern declaration for `tzname[]' to make this header comply better
to POSIX90. 2-rounds-of-review-by: bde
This commit is contained in:
parent
1be40924a9
commit
2bd323977f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38464
@ -116,6 +116,10 @@ struct tm {
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
#ifndef _ANSI_SOURCE
|
||||||
|
extern char *tzname[];
|
||||||
|
#endif
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
char *asctime __P((const struct tm *));
|
char *asctime __P((const struct tm *));
|
||||||
clock_t clock __P((void));
|
clock_t clock __P((void));
|
||||||
|
Loading…
Reference in New Issue
Block a user