plat: sim: extern put/getchar in case of conflict