From 99c61c19ace7bd564f262a9b6e642d7af2ee8a97 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Fri, 17 Apr 2026 11:05:15 +0200 Subject: [PATCH] - Fix compat/gmtime_r old style definition syntax. --- compat/gmtime_r.c | 5 +---- doc/Changelog | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) 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. -- 2.47.3