logo

oasis

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

0002-Use-prototype-for-SIG_TYPE.patch (575B)


  1. From 62f8f697809fb2579ac2cc39aa9907140b4b1249 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Thu, 2 Apr 2026 17:31:35 -0700
  4. Subject: [PATCH] Use prototype for SIG_TYPE
  5. ---
  6. compress.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/compress.c b/compress.c
  9. index 691ff2b..a7bd65a 100644
  10. --- a/compress.c
  11. +++ b/compress.c
  12. @@ -169,7 +169,7 @@
  13. #endif
  14. #ifndef SIG_TYPE
  15. -# define SIG_TYPE void (*)()
  16. +# define SIG_TYPE void (*)(int)
  17. #endif
  18. #if defined(AMIGA) || defined(DOS) || defined(MINGW) || defined(WINDOWS)
  19. --
  20. 2.49.0