musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/exit/assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/assert.c')
-rw-r--r--src/exit/assert.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/assert.c b/src/exit/assert.c
index e87442a7..49b0dc3e 100644
--- a/src/exit/assert.c
+++ b/src/exit/assert.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
-void __assert_fail(const char *expr, const char *file, int line, const char *func)
+_Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func)
{
fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
fflush(NULL);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 04:31:29 +0000

AltStyle によって変換されたページ (->オリジナル) /