inline -> static inline for gcc 4.4+