fix the prototype of settimeofday to follow the original BSD declaration