Merge pull request #4589 from ligfx/cleaninputconfigdiag InputConfigDiag: move function bodies out of header