Evans book on PDE's defines for a given open subset $U$ of $\mathbb{R}^{n}$,
$C^{k}(\overline{U})=\lbrace u:U\rightarrow \mathbb{R}^{n}$, such that $D^{\alpha}u$ exists and is uniformly continuous on bounded subsets of $U$, for all mulitindexes $\alpha$, with $|\alpha|\leq k\rbrace$
Alternatively one could define,
$C^{k}(\overline{U})=\lbrace u:\overline{U}\rightarrow \mathbb{R}^{n},$ such that there exists an open subset $V$ of $\mathbb{R}^{n}$ containing $\overline{U}$, and an extension of $u$ to $V$ that has continous partial derivatives up to order $k$ in $V\rbrace$
Are this definitions equivalent? Is this trivial?