logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

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. unix/unxcfg.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/unix/unxcfg.h b/unix/unxcfg.h
  9. index c98c3b9..a3ad576 100644
  10. --- a/unix/unxcfg.h
  11. +++ b/unix/unxcfg.h
  12. @@ -118,7 +118,7 @@ typedef struct stat z_stat;
  13. # endif
  14. #else
  15. # include <time.h>
  16. - struct tm *gmtime(), *localtime();
  17. +/* struct tm *gmtime(), *localtime(); */
  18. #endif
  19. #if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN)))
  20. --
  21. 2.45.2