Don't inline functions that have to be exported

Externally linked functions can't be inlined.