[iwhd] maint: move a declaration down into sole block where used