Smoothing in $C(X)$