Hans Leidekker : msi: Reorder functions to avoid forward declarations.