From: W.C.A. Wijngaards Date: Fri, 17 Apr 2026 09:05:15 +0000 (+0200) Subject: - Fix compat/gmtime_r old style definition syntax. X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=99c61c19ace7bd564f262a9b6e642d7af2ee8a97;p=thirdparty%2Funbound.git - Fix compat/gmtime_r old style definition syntax. --- diff --git a/compat/gmtime_r.c b/compat/gmtime_r.c index 19eb637e3..2b567b4ab 100644 --- a/compat/gmtime_r.c +++ b/compat/gmtime_r.c @@ -42,10 +42,7 @@ static const int year_lengths[2] = { }; static void -timesub(timep, offset, tmp) -const time_t * const timep; -const long offset; -struct tm * const tmp; +timesub(const time_t * const timep, const long offset, struct tm * const tmp) { long days; long rem; diff --git a/doc/Changelog b/doc/Changelog index 95ae1bbe6..ec5fc00f1 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -10,6 +10,7 @@ - Fix github ci to speed up with parralel build, for windows ci. - Fix compat/chacha_private sigma and tau definitions to use nonstring attribute. + - Fix compat/gmtime_r old style definition syntax. 16 April 2026: Yorgos - Merge #1406: Introduce new 'tls-protocols' configuration option.