summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-08-21 01:21:26 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-08-21 01:21:26 +0000
commite32cf4cb0475337c863f32898a295324b09c2106 (patch)
tree9007d953f963285c93f105dfab81ea21e062b6f5 /include/time.h
parent54aa813dfd5c4d7585694c5c1fa82b7ec889ab9f (diff)
downloadFreeBSD-src-e32cf4cb0475337c863f32898a295324b09c2106.zip
FreeBSD-src-e32cf4cb0475337c863f32898a295324b09c2106.tar.gz
Add extern declaration for `tzname[]' to make this header comply better
to POSIX90. 2-rounds-of-review-by: bde
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index a2a89c7..1c63cf6 100644
--- a/include/time.h
+++ b/include/time.h
@@ -116,6 +116,10 @@ struct tm {
#include <sys/cdefs.h>
+#ifndef _ANSI_SOURCE
+extern char *tzname[];
+#endif
+
__BEGIN_DECLS
char *asctime __P((const struct tm *));
clock_t clock __P((void));
OpenPOWER on IntegriCloud