Uniform approximation by real functions