On the Luminosity Function of Galactic X-ray Sources