We report the dielectric functions of various GaN samples as measured by spectroscopic ellipsometry. Structure related to the A and B excitons is resolved at room temperature, in principle allowing strain to be assessed. However, the data indicate that dead-layer and dispersion effects are present, preventing a simple interpretation. We discuss various complications including the Edn/dE contribution to dispersion, which is important for laser action. Our data appear to indicate that the spin-orbit splitting of GaN is about 15 meV, somewhat larger than the currently accepted value of about 11 meV.