c99 has inline, use it