0001-obstack-Fix-a-clang-warning.patch 640 B

123456789101112131415161718192021
  1. From 0cc39712803ade7b2d4b89c36b143dad72404063 Mon Sep 17 00:00:00 2001
  2. From: Bruno Haible <[email protected]>
  3. Date: Sun, 18 Oct 2020 14:37:13 +0200
  4. Subject: [PATCH] obstack: Fix a clang warning.
  5. * lib/obstack.c (print_and_abort): Mark as __attribute_noreturn__.
  6. ---
  7. lib/obstack.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/lib/obstack.c
  10. +++ b/lib/obstack.c
  11. @@ -326,7 +326,7 @@ int obstack_exit_failure = EXIT_FAILURE;
  12. # include <libio/iolibio.h>
  13. # endif
  14. -static _Noreturn void
  15. +static __attribute_noreturn__ void
  16. print_and_abort (void)
  17. {
  18. /* Don't change any of these strings. Yes, it would be possible to add