Merge commit 'ba01fa44feb6deb0f0359f381eafe866991c06c1' into pablo/namespace
[osmocom-bb.git] / src / shared / libosmocore / include / osmocom / core / msgb.h
index 57b5d7f..8665c2b 100644 (file)
@@ -181,7 +181,7 @@ static inline void msgb_reserve(struct msgb *msg, int len)
 static inline struct msgb *msgb_alloc_headroom(int size, int headroom,
                                                const char *name)
 {
-       static_assert(size > headroom, headroom_bigger);
+       osmo_static_assert(size > headroom, headroom_bigger);
 
        struct msgb *msg = msgb_alloc(size, name);
        if (msg)