Fix misuse of inline keyword (since this is C99, it affects where the function is emitted and can cause link errors)