]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix compat/gmtime_r old style definition syntax.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Apr 2026 09:05:15 +0000 (11:05 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Apr 2026 09:05:15 +0000 (11:05 +0200)
compat/gmtime_r.c
doc/Changelog

index 19eb637e3c9b85562f120d5aa66be887e4173f32..2b567b4ab14d1b527f896cc273dd1a59b2fc37b9 100644 (file)
@@ -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;
index 95ae1bbe6b26704518eeb09cfea1b929f3b610fa..ec5fc00f1d86be21666656985d19174b1fe2f8a9 100644 (file)
@@ -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.