Coverity is confusing routines by the same name from different simulators. Making these routines static should solve the problem. Also fix un-checked status complaint.