diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-08-21 01:21:26 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-08-21 01:21:26 +0000 |
commit | 2bd323977f612b2c0986a92144629118a86034b3 (patch) | |
tree | a020fa1b5ad00748e93dde875d926276157868b3 /include | |
parent | 1be40924a9de84760dcd8f844aea8007bc8f305d (diff) | |
download | src-2bd323977f612b2c0986a92144629118a86034b3.tar.gz src-2bd323977f612b2c0986a92144629118a86034b3.zip |
Add extern declaration for `tzname[]' to make this header comply better
to POSIX90.
2-rounds-of-review-by: bde
Notes
Notes:
svn path=/head/; revision=38464
Diffstat (limited to 'include')
-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 a2a89c7932ed..1c63cf6dc3fc 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)); |