0030-Drop-conflicting-declarations-of-gmtime-and-localtim.patch (665B)
1 From 7fb1835d3ec1654edd2b1b88575cc9eedb1b0f03 Mon Sep 17 00:00:00 2001 2 From: Santiago Vila <sanvila@debian.org> 3 Date: Mon, 28 Apr 2025 12:57:34 -0700 4 Subject: [PATCH] Drop conflicting declarations of gmtime() and localtime() 5 6 --- 7 unix/unxcfg.h | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/unix/unxcfg.h b/unix/unxcfg.h 11 index c98c3b9..a3ad576 100644 12 --- a/unix/unxcfg.h 13 +++ b/unix/unxcfg.h 14 @@ -118,7 +118,7 @@ typedef struct stat z_stat; 15 # endif 16 #else 17 # include <time.h> 18 - struct tm *gmtime(), *localtime(); 19 +/* struct tm *gmtime(), *localtime(); */ 20 #endif 21 22 #if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN))) 23 -- 24 2.45.2 25