Please don't use ANSI style C. Eliminate the definition in this line, and define it in the various loops and just before `/* Tempering */`.