Replace 'inline' with 'static inline'