change void to inline void