Attention is currently required from: fixeria, neels.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/35312?usp=email )
Change subject: utils: fix OSMO_STRBUF_REMAIN to handle sb.pos == NULL correctly ......................................................................
Patch Set 1:
(1 comment)
File include/osmocom/core/utils.h:
https://gerrit.osmocom.org/c/libosmocore/+/35312/comment/19efe077_6f56b6c6 PS1, Line 284: /*! Get remaining space for characters and terminating nul in the given struct osmo_strbuf.
i'm not sure about the inlining, I think i'd just submit a normal function in utils.c. […]
I'd expect the linker will throw out any unused functions anyway. So I don't seee any problem/overhead at runtime.
Optimization for compile speed is not a goal.