diff --git a/headers/posix/assert.h b/headers/posix/assert.h index 5c8d3db56a..1d47bd0ad6 100644 --- a/headers/posix/assert.h +++ b/headers/posix/assert.h @@ -16,10 +16,12 @@ extern "C" { #endif extern void __assert_fail(const char *assertion, const char *file, - unsigned int line, const char *function); + unsigned int line, const char *function) + __attribute__ ((noreturn)); extern void __assert_perror_fail(int error, const char *file, - unsigned int line, const char *function); + unsigned int line, const char *function) + __attribute__ ((noreturn)); #ifdef __cplusplus }