[temp] porting of sim-outorder is over, correcting incompatible declarations in other c files