We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb9d397 commit 1fa8cafCopy full SHA for 1fa8caf
1 file changed
tests/test.c
@@ -73,8 +73,7 @@ static ulong64 epoch_usec(void)
73
return cur_time;
74
#else
75
struct timeval tv;
76
- struct timezone tz;
77
- gettimeofday(&tv, &tz);
+ gettimeofday(&tv, NULL);
78
return (ulong64)(tv.tv_sec) * 1000000 + (ulong64)(tv.tv_usec); /* get microseconds */
79
#endif
80
}
0 commit comments