fixed temperature.c to adhere to k_and_r style