Merge pull request #5953 from boretrk/c99-inline common.h: use inline when compiling for C99 and later