diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-06-29 20:23:29 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-29 20:32:57 +0200 |
commit | bc568d0b9f216f8d3c26b888131f4a9a7e9d368d (patch) | |
tree | 6ca453945a057bef7c861cfafdd319487a20ac99 /include/osmocom/core/msgb.h | |
parent | 459a180877d410d491d7adb1fdf9cc12fd51ac99 (diff) |
osmo_panic(): Annotate as __attribute__ ((noreturn))
In Change-Id I5a70eb65952cbc329bf96eacb428b07a9da32433 we redirected
all OSMO_ASSERT() via osmo_panic(). However, this caused various
applications to have build failures, as OSMO_ASSERT() now appeared
to be able to return to the call site. Let's inform the compiler
explicitly that there's no return from osmo_panic().
Change-Id: I8adf4c7b0ee6a4581cef8dd4e9f6a1dfde70ee55
Diffstat (limited to 'include/osmocom/core/msgb.h')
0 files changed, 0 insertions, 0 deletions