removed inline keywords to make llvm clang happy (last version was compiled with gcc which had different semantics for inline keyword)