Fixed unused-function warnings

The function bodies in header files should be declared static inline.