X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Flocaltime-buffer.c;fp=lib%2Flocaltime-buffer.c;h=910c8bcfed30a78903606eb002275705ef2f3479;hb=dc02bf0d39a3ae0d90d9b7b0feb32c2cc7cdff86;hp=df11f4321dbe090a2d7cd2560c3a531d24a98596;hpb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;p=debian%2Fgzip diff --git a/lib/localtime-buffer.c b/lib/localtime-buffer.c index df11f43..910c8bc 100644 --- a/lib/localtime-buffer.c +++ b/lib/localtime-buffer.c @@ -34,6 +34,7 @@ struct tm *localtime_buffer_addr = &tm_zero_buffer; struct tm * rpl_localtime (time_t const *timep) +#undef localtime { struct tm *tm = localtime (timep); @@ -46,6 +47,7 @@ rpl_localtime (time_t const *timep) /* Same as above, since gmtime and localtime use the same buffer. */ struct tm * rpl_gmtime (time_t const *timep) +#undef gmtime { struct tm *tm = gmtime (timep);