aboutsummaryrefslogtreecommitdiff
path: root/timezone/tzfile.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-04-04 20:47:29 +0000
committerUlrich Drepper <drepper@redhat.com>2005-04-04 20:47:29 +0000
commit7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926 (patch)
tree9b8a04127df288b73c3cec99474832a286acd96c /timezone/tzfile.h
parent91682d7038c0247ba1a52925b284fcb59756546e (diff)
downloadglibc-7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926.zip
glibc-7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926.tar.gz
glibc-7a50b1f6d1bd959ae5dfb5539d9cd8935eb8d926.tar.bz2
* sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
of trying to encode uninitialized arglen. 2005-04-04 Ulrich Drepper <drepper@redhat.com> * timezone/scheck.c: Update from tzcode2005h. * timezone/tzfile.h: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. * timezone/antarctica: Update from tzdata2005h. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/etcetera: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/leapseconds: Likewise. * timezone/iso3166.tab: Likewise.
Diffstat (limited to 'timezone/tzfile.h')
-rw-r--r--timezone/tzfile.h26
1 files changed, 2 insertions, 24 deletions
diff --git a/timezone/tzfile.h b/timezone/tzfile.h
index 0e9966a..2dad932 100644
--- a/timezone/tzfile.h
+++ b/timezone/tzfile.h
@@ -21,7 +21,7 @@
#ifndef lint
#ifndef NOID
-static char tzfilehid[] = "@(#)tzfile.h 7.16";
+static char tzfilehid[] = "@(#)tzfile.h 7.17";
#endif /* !defined NOID */
#endif /* !defined lint */
@@ -48,7 +48,7 @@ static char tzfilehid[] = "@(#)tzfile.h 7.16";
#define TZ_MAGIC "TZif"
struct tzhead {
- char tzh_magic[4]; /* TZ_MAGIC */
+ char tzh_magic[4]; /* TZ_MAGIC */
char tzh_reserved[16]; /* reserved for future use */
char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */
char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */
@@ -172,26 +172,4 @@ struct tzhead {
#define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
-#ifndef USG
-
-/*
-** Use of the underscored variants may cause problems if you move your code to
-** certain System-V-based systems; for maximum portability, use the
-** underscore-free variants. The underscored variants are provided for
-** backward compatibility only; they may disappear from future versions of
-** this file.
-*/
-
-#define SECS_PER_MIN SECSPERMIN
-#define MINS_PER_HOUR MINSPERHOUR
-#define HOURS_PER_DAY HOURSPERDAY
-#define DAYS_PER_WEEK DAYSPERWEEK
-#define DAYS_PER_NYEAR DAYSPERNYEAR
-#define DAYS_PER_LYEAR DAYSPERLYEAR
-#define SECS_PER_HOUR SECSPERHOUR
-#define SECS_PER_DAY SECSPERDAY
-#define MONS_PER_YEAR MONSPERYEAR
-
-#endif /* !defined USG */
-
#endif /* !defined TZFILE_H */