Ticket #160: service.patch
File service.patch, 415 bytes (added by jmckenna, 7 years ago) |
---|
declare at beginning of scope |
-
service.h
51 51 }; 52 52 static int zGettimeofday(struct ztimeval* tp, void* tzp) 53 53 { 54 struct _timeb theTime; 54 55 if (tp == 0) { 55 56 return -1; 56 57 } 57 58 58 struct _timeb theTime;59 59 _ftime(&theTime); 60 60 tp->tv_sec = theTime.time; 61 61 tp->tv_usec = theTime.millitm * 1000;