Fix issue reported by clang.

This concerns inline function with external linkage

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>