about 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.c2
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);