Loading lib/parsedate.c +2 −2 Original line number Diff line number Diff line Loading @@ -529,9 +529,9 @@ CURLcode Curl_gmtime(time_t intime, struct tm *store) const struct tm *tm; #ifdef HAVE_GMTIME_R /* thread-safe version */ tm = (struct tm *)(gmtime_r)(&intime, store); tm = (struct tm *)gmtime_r(&intime, store); #else tm = (gmtime)(&intime); tm = gmtime(&intime); if(tm) *store = *tm; /* copy the pointed struct to the local copy */ #endif Loading lib/setup_once.h +0 −3 Original line number Diff line number Diff line Loading @@ -488,8 +488,5 @@ typedef int sig_atomic_t; #define ZERO_NULL 0 #define gmtime(x) do_not_use_gmtime_use_Curl_gmtime() #define gmtime_r(x,y) do_not_use_gmtime_r_use_Curl_gmtime() #endif /* __SETUP_ONCE_H */ Loading
lib/parsedate.c +2 −2 Original line number Diff line number Diff line Loading @@ -529,9 +529,9 @@ CURLcode Curl_gmtime(time_t intime, struct tm *store) const struct tm *tm; #ifdef HAVE_GMTIME_R /* thread-safe version */ tm = (struct tm *)(gmtime_r)(&intime, store); tm = (struct tm *)gmtime_r(&intime, store); #else tm = (gmtime)(&intime); tm = gmtime(&intime); if(tm) *store = *tm; /* copy the pointed struct to the local copy */ #endif Loading
lib/setup_once.h +0 −3 Original line number Diff line number Diff line Loading @@ -488,8 +488,5 @@ typedef int sig_atomic_t; #define ZERO_NULL 0 #define gmtime(x) do_not_use_gmtime_use_Curl_gmtime() #define gmtime_r(x,y) do_not_use_gmtime_r_use_Curl_gmtime() #endif /* __SETUP_ONCE_H */