diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1998-08-21 01:21:26 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1998-08-21 01:21:26 +0000 |
commit | e32cf4cb0475337c863f32898a295324b09c2106 (patch) | |
tree | 9007d953f963285c93f105dfab81ea21e062b6f5 | |
parent | 54aa813dfd5c4d7585694c5c1fa82b7ec889ab9f (diff) | |
download | FreeBSD-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
-rw-r--r-- | include/time.h | 4 |
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)); |