summaryrefslogtreecommitdiff
path: root/tests/error.in.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-10-18 19:07:35 +0200
committerJörg Frings-Fürst <debian@jff.email>2025-10-18 19:07:35 +0200
commitfa23d938c040bc8af305a31fa874df55b2a02576 (patch)
tree9704e2f7bd8962ea8911cd6f4e2d37227d7eff2e /tests/error.in.h
parentdf9dbf9b0915e432a4a2c4182f60af36374eaaab (diff)
parent693ae7b71dfdd1a8146266b5794a71c0dbe5dff0 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'tests/error.in.h')
-rw-r--r--tests/error.in.h8
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.