Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From 02f1f63d3ff58f3473f1689a0322a234ce10b659 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 13 Jan 2023 22:13:45 -0800 |
| 4 | Subject: [PATCH] obstack: Fix a clang warning |
| 5 | |
| 6 | Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=0cc39712803ade7b2d4b89c36b143dad72404063] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | gnu/obstack.c | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/gnu/obstack.c b/gnu/obstack.c |
| 13 | index 54b675d..4d6a1d5 100644 |
| 14 | --- a/gnu/obstack.c |
| 15 | +++ b/gnu/obstack.c |
| 16 | @@ -326,7 +326,7 @@ int obstack_exit_failure = EXIT_FAILURE; |
| 17 | # include <libio/iolibio.h> |
| 18 | # endif |
| 19 | |
| 20 | -static _Noreturn void |
| 21 | +static __attribute_noreturn__ void |
| 22 | print_and_abort (void) |
| 23 | { |
| 24 | /* Don't change any of these strings. Yes, it would be possible to add |
| 25 | -- |
| 26 | 2.39.0 |
| 27 | |