X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Flocaltime-buffer.c;h=910c8bcfed30a78903606eb002275705ef2f3479;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=df11f4321dbe090a2d7cd2560c3a531d24a98596;hpb=a2f84200a3642c51afc3fad750ea264ac120bcd1;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);