move declaration to top of the function to appease the c89 gods
1 file changed