aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-atexit-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-atexit-common.c')
-rw-r--r--stdlib/tst-atexit-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/tst-atexit-common.c b/stdlib/tst-atexit-common.c
index 4bea464..7c0221b 100644
--- a/stdlib/tst-atexit-common.c
+++ b/stdlib/tst-atexit-common.c
@@ -1,5 +1,5 @@
/* Helper file for tst-{atexit,at_quick_exit,cxa_atexit,on_exit}.
- Copyright (C) 2017-2024 Free Software Foundation, Inc.
+ Copyright (C) 2017-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -37,6 +37,7 @@ static char crumbs[sizeof (expected)];
static int next_slot = 0;
/* Helper: flush stdout and _exit. */
+__attribute__ ((__noreturn__))
static void
_exit_with_flush (int code)
{