diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 13:24:07 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 13:24:07 +0100 |
| commit | cfd1f17f1a85d95ea12bca8dae42add7dad1ad11 (patch) | |
| tree | 8016486f8ee7157213f2d09ff2491bfa9c94638a /tests/error.in.h | |
| parent | 14e4d584d0121031ec40e6c35869745f1747ff29 (diff) | |
| parent | 1403307d6e2fb4e7b5d97a35f40d1e95134561ab (diff) | |
Merge branch 'release/debian/1.4.2-1'HEADdebian/1.4.2-1master
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..3355fb3b 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-2026 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. |
