[mingw-warning-fix][old-declarators]

MinGW wants static to come first.