core: fix regression introduced in 5211ad35e03

inline functions in headers must be static so that every translation
unit using them have their own copy.

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>