X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnulib%2Fgettimeofday.c;h=7579130bc238aa5cb8d3ccd2ed75601938f71acb;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=bd5576cb0993823f92f96a8f05b876cd78d6e771;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/gnulib/gettimeofday.c b/gnulib/gettimeofday.c index bd5576c..7579130 100644 --- a/gnulib/gettimeofday.c +++ b/gnulib/gettimeofday.c @@ -5,7 +5,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -48,7 +48,7 @@ static struct tm *localtime_buffer_addr = &tm_zero_buffer; localtime uses for its result. */ struct tm * -localtime (time_t const *timep) +rpl_localtime (time_t const *timep) { #undef localtime extern struct tm *localtime (time_t const *); @@ -62,7 +62,7 @@ localtime (time_t const *timep) /* Same as above, since gmtime and localtime use the same buffer. */ struct tm * -gmtime (time_t const *timep) +rpl_gmtime (time_t const *timep) { #undef gmtime extern struct tm *gmtime (time_t const *); @@ -80,7 +80,7 @@ gmtime (time_t const *timep) /* This is a wrapper for tzset, for systems on which tzset may clobber the static buffer used for localtime's result. */ void -tzset (void) +rpl_tzset (void) { #undef tzset extern void tzset (void); @@ -98,7 +98,7 @@ tzset (void) causes problems. */ int -rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz) +rpl_gettimeofday (struct timeval *tv, void *tz) { #undef gettimeofday #if HAVE_GETTIMEOFDAY