summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/panic.h')
-rw-r--r--include/osmocom/core/panic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/panic.h b/include/osmocom/core/panic.h
index 2bb4240b..c4006dc3 100644
--- a/include/osmocom/core/panic.h
+++ b/include/osmocom/core/panic.h
@@ -9,7 +9,7 @@
/*! panic handler callback function type */
typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
-extern void osmo_panic(const char *fmt, ...);
+extern void osmo_panic(const char *fmt, ...) __attribute__ ((noreturn));
extern void osmo_set_panic_handler(osmo_panic_handler_t h);
/*! @} */