On the temperature-density relation in Eddington's theory about the interior of a star