gettimeofday: move more declarations out of functions