misc: Move the static_assert from logging to the utils
[osmocom-bb.git] / include / osmocore / panic.h
1 #ifndef OSMOCORE_PANIC_H
2 #define OSMOCORE_PANIC_H
3
4 #include <stdarg.h>
5
6 typedef void (*osmo_panic_handler_t)(const char *fmt, va_list args);
7
8 void osmo_panic(const char *fmt, ...);
9 void osmo_set_panic_handler(osmo_panic_handler_t h);
10
11 #endif