Fix implicite decl of close()