diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:07:08 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:07:08 +0200 |
| commit | 693ae7b71dfdd1a8146266b5794a71c0dbe5dff0 (patch) | |
| tree | 9704e2f7bd8962ea8911cd6f4e2d37227d7eff2e /tests/error.in.h | |
| parent | b8b9b0ac61ac47dddc58717f23619f8b06640498 (diff) | |
| parent | 27dae84ed92f1ef0300263091972338d12e78348 (diff) | |
Update upstream source from tag 'upstream/1.4.1'
Update to upstream version '1.4.1'
with Debian dir 8add41ffbfe3e6636eec0ec134c5af96832cc143
Diffstat (limited to 'tests/error.in.h')
| -rw-r--r-- | tests/error.in.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/error.in.h b/tests/error.in.h index 4804c8c4..6c512ec8 100644 --- a/tests/error.in.h +++ b/tests/error.in.h @@ -1,5 +1,5 @@ /* Declarations for error-reporting functions. - Copyright (C) 1995-1997, 2003, 2006, 2008-2024 Free Software Foundation, + Copyright (C) 1995-1997, 2003, 2006, 2008-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -39,7 +39,7 @@ /* Get va_list. */ #include <stdarg.h> -/* Get 'unreachable'. */ +/* Get 'gl_unreachable'. */ #include <stddef.h> /* Get _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM. */ @@ -57,11 +57,11 @@ It evaluates its arguments only once. Test case: Compile copy-file.c with "gcc -Wimplicit-fallthrough". */ #if defined __GNUC__ || defined __clang__ -/* Use 'unreachable' to tell the compiler when the function call does not +/* Use 'gl_unreachable' to tell the compiler when the function call does not return. */ # define __gl_error_call1(function, status, ...) \ ((function) (status, __VA_ARGS__), \ - (status) != 0 ? unreachable () : (void) 0) + (status) != 0 ? gl_unreachable () : (void) 0) /* If STATUS is a not a constant, the function call may or may not return; therefore -Wimplicit-fallthrough will produce a warning. Use a compound statement in order to evaluate STATUS only once. |
