Do not put a declaration or definition of a function (or variable) staticin a file .h. This defeats the point static- saving functions / variables locally.
inline- another thing - it depends on the volume intended for the function. The function inlinein is .hintended for global use and volume. Function inlinein .cis for local use only. This is the same strategy as for#define
inline extern, static . @Christoph inline.