diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-31 18:02:48 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-01 00:22:53 -0700 |
commit | 15343c31c678b9a50b7930346b78e19971b0054c (patch) | |
tree | 04755792372d6a0a0854813362ca11f1e5c54890 /lib/timegm.c | |
parent | 65d3c969a07369768d028581fdc22fd09e447f2b (diff) | |
download | gnulib-15343c31c678b9a50b7930346b78e19971b0054c.tar.gz |
mktime, timegm: simplify glibc time64_t
* lib/mktime.c, lib/timegm.c (mktime_offset_t) [_LIBC]:
Now long int, not time_t, since long int is the longstanding type
for this in glibc and there is no need to change it even if time_t
becomes 64 bits - even int would do, though this would be a change
to the glibc generated code. When this change is merged into
glibc, it should simplify the time_t vs time64_t situation.
Diffstat (limited to 'lib/timegm.c')
-rw-r--r-- | lib/timegm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timegm.c b/lib/timegm.c index 275a7a2eca..71276bbe0b 100644 --- a/lib/timegm.c +++ b/lib/timegm.c @@ -24,7 +24,7 @@ #include <time.h> #ifdef _LIBC -typedef time_t mktime_offset_t; +typedef long int mktime_offset_t; #else # include "mktime-internal.h" #endif |