summaryrefslogtreecommitdiff
path: root/tzfile.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2024-02-13 18:30:52 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2024-02-13 18:30:52 +0000
commit378c74faf328dd07970e24ddaa2858531ff6cd08 (patch)
treec116ff274e76c285cb3af257a16a3232793e78ac /tzfile.h
parentd5228e8957c2b6a9cbb2a73947640ce3c70097e8 (diff)
Diffstat (limited to 'tzfile.h')
-rw-r--r--tzfile.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/tzfile.h b/tzfile.h
index 9cbdcff5c0c9..3155010ed17f 100644
--- a/tzfile.h
+++ b/tzfile.h
@@ -21,14 +21,6 @@
** Information about time zone files.
*/
-#ifndef TZDIR
-# define TZDIR "/usr/share/zoneinfo" /* Time zone object file directory */
-#endif /* !defined TZDIR */
-
-#ifndef TZDEFAULT
-# define TZDEFAULT "/etc/localtime"
-#endif /* !defined TZDEFAULT */
-
#ifndef TZDEFRULES
# define TZDEFRULES "posixrules"
#endif /* !defined TZDEFRULES */
@@ -86,11 +78,11 @@ struct tzhead {
** time uses 8 rather than 4 chars,
** then a POSIX-TZ-environment-variable-style string for use in handling
** instants after the last transition time stored in the file
-** (with nothing between the newlines if there is no POSIX representation for
-** such instants).
+** (with nothing between the newlines if there is no POSIX.1-2017
+** representation for such instants).
**
** If tz_version is '3' or greater, the above is extended as follows.
-** First, the POSIX TZ string's hour offset may range from -167
+** First, the TZ string's hour offset may range from -167
** through 167 as compared to the POSIX-required 0 through 24.
** Second, its DST start time may be January 1 at 00:00 and its stop
** time December 31 at 24:00 plus the difference between DST and