lcr: declare inline function static to work with llvm linker
test/unit: updates to unit 7