summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/sys/time.h4
-rw-r--r--time/sys/timeb.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/time/sys/time.h b/time/sys/time.h
index 5dbc7fc627..2d5984204f 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -51,8 +51,8 @@ __BEGIN_DECLS
This is obsolete and should never be used. */
struct timezone
{
- int tz_minuteswest; /* Minutes west of GMT. */
- int tz_dsttime; /* Nonzero if DST is ever in effect. */
+ /* Formerly: int tz_minuteswest; int tz_dsttime; */
+ char __preserve_historic_size [2 * sizeof (int)];
};
typedef struct timezone *__restrict __timezone_ptr_t;
diff --git a/time/sys/timeb.h b/time/sys/timeb.h
index 6333e8074d..11f47e9d6b 100644
--- a/time/sys/timeb.h
+++ b/time/sys/timeb.h
@@ -30,8 +30,9 @@ struct timeb
{
time_t time; /* Seconds since epoch, as from `time'. */
unsigned short int millitm; /* Additional milliseconds. */
- short int timezone; /* Minutes west of GMT. */
- short int dstflag; /* Nonzero if Daylight Savings Time used. */
+
+ /* Formerly: short int timezone; short int dstflag; */
+ char __preserve_historic_size [2 * sizeof (short int)];
};
/* Fill in TIMEBUF with information about the current time. */