The asymptotic behavior of the spectral function of a one-dimensional second-order differential operator is discussed. We give a necessary and sufficient condition in order that the spectral function varies regularly with index 1. The condition is closely related to the class Γ which appears in the de Haan theory.