Fix use of inline keyword

GCC warns on this under -Wold-style-declaration