Replaced unused timezone parameter of gettimeofday() by NULL

This commit is contained in:
2016-03-10 20:05:41 +00:00
parent 07259e6051
commit f7b10f6eb8
4 changed files with 8 additions and 10 deletions

View File

@ -857,8 +857,8 @@ int Sfile_home_adr_s(char *filename, char *fileadr, int fa_size, int flag)
double Sfile_microtime(int flag)
{
struct timeval tv;
struct timezone tz;
gettimeofday(&tv,&tz);
gettimeofday(&tv, NULL);
return((double) (tv.tv_sec+1.0e-6*tv.tv_usec));
}