I have a number of small functions which are defined in a .h
file. It is a small project (now) and I want to avoid the pain of having declarations and definitio
I think static inline is the way to go for functions you want to inline, and only static for those you don't want.
static refers to visibility, but inline is ambiguous about visibility in the standard (C99). Anyway, it's not its purpose: inline is for inlining functions, thus it has a side-effect from a visibility point of view you might not want.