diff options
Diffstat (limited to 'libmisc/assert.c')
-rw-r--r-- | libmisc/assert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmisc/assert.c b/libmisc/assert.c index 456ac24..8231c85 100644 --- a/libmisc/assert.c +++ b/libmisc/assert.c @@ -13,7 +13,7 @@ #include <libmisc/assert.h> #ifndef NDEBUG -__attribute__((noreturn, weak)) +[[noreturn, gnu::weak]] void __assert_msg_fail(const char *expr, const char *file, unsigned int line, const char *func, const char *msg) { |