Eliminate forcin pointers/integers to bool, fix errno redefine.