Replace inline with static __inline__ to fix inline warnings