Revert "squash! DRAFT lib/m2: SYS_gettimeofday expects pointers. -- newer M2-Planet?"
This reverts commit 08f0adcdfa
.
This commit is contained in:
parent
08f0adcdfa
commit
932ea587df
|
@ -33,6 +33,6 @@ time (long* result)
|
|||
if (r != 0)
|
||||
return -1;
|
||||
if (result != 0)
|
||||
result[0] = tv->tv_sec;
|
||||
return tv->tv_sec;
|
||||
result[0] = tv.tv_sec;
|
||||
return tv.tv_sec;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue