From 2bd323977f612b2c0986a92144629118a86034b3 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Fri, 21 Aug 1998 01:21:26 +0000 Subject: [PATCH] Add extern declaration for `tzname[]' to make this header comply better to POSIX90. 2-rounds-of-review-by: bde --- include/time.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/time.h b/include/time.h index a2a89c7932ed..1c63cf6dc3fc 100644 --- a/include/time.h +++ b/include/time.h @@ -116,6 +116,10 @@ struct tm { #include +#ifndef _ANSI_SOURCE +extern char *tzname[]; +#endif + __BEGIN_DECLS char *asctime __P((const struct tm *)); clock_t clock __P((void));