diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:06:52 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:06:52 +0200 |
| commit | 27dae84ed92f1ef0300263091972338d12e78348 (patch) | |
| tree | 7c52931f474fafb8a4bd4fd15ca3461c77cdecc2 /tests/error.in.h | |
| parent | 4682deeb62247d34de87f8e777f99e2d337fd377 (diff) | |
New upstream version 1.4.1upstream/1.4.1upstream
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. |
