Addressing comments from Alain. [Inline functions must be marked
static.](https://github.com/kripken/emscripten/issues/1509#issuecomment-22578171)