Let $U$ be an open subset of $\Bbb{R}^d$. In Evans's PDE book, $$ C(U)=\{u: U\to\Bbb{R} \mid u\ \hbox{continuous}\} $$ and $$ C(\bar U)=\{u\in C(U)\mid u\ \hbox{ is uniformly continuous on bounded subsets of}\ U\}. \tag{1} $$
I've seen $C(\bar U)$ defined as $$ C(\bar U)=\{u: \bar U\to\Bbb{R} \mid u\ \hbox{continuous}\} \tag{2} $$ before. Is it the same as Evans's version? What's the point of the definition (*) in Evans's book?
(2) obviously implies (1). To show (1) implies (2), I set it as an exercise:
Suppose $f:U\to \Bbb{R}$ is continuous and for any bounded $A\subset U$, $f$ is uniformly continuous on $A$. Then $f$ has a continuous extension on $\bar U$.
The bounded case is trivial. How can one have the general case that $U$ might be an unbounded open set?
As a nontrivial special case, consider $U=(0,\infty)$ and $f\in C(U)$ such that it satisfies (1). How should I define $f(0)$?