Real functions and near-normal spaces