Moved C declaration to start of block