fix for C90 -Wdeclaration-after-statement