I want to prove the following.
Let $A$ be a subset of $X$. Let $f:A \to Y$ be continuous. Let $Y$ be Hausdorff. Show that if $f$ can be extended to a continuous function $g:\overline{A}\to Y$, then $g$ is uniquely determined by $f$.
Assume the contrary.$g_{1}$, and $g_{2}$ are the extended $f$. Consider $B=\lbrace x\in\bar{A}\vert g_{1}=g_{2}\rbrace$ which is a subset of $\bar{A}$. Note $g_{1}$ and $g_{2}$ agrees on A due to the restriction mapping. So $A$ is a subset of $B$. Since $g_{1}$ and $g_{2}$ are continous on $\bar{A}$, we have that $B$ is closed. $B$ being closed implies that $B$ contains all of its limit points and it also include those limit points of $A$. So $B=\bar{A}$.
Why I did not use the Hausdorff condition? This seems very wrong to me. I see that Hausdorff may be necessary to argue that $B$ being closed by that it is a point set. How do I see B being a point set?