Closed jbeich closed 2 years ago
The gettimeofday()
function is deprecated and I planned to replace it with a clock_gettime()
call.
I don't mind this patch, but could you add Signed-off-by
to your commit?
The gettimeofday()
function replaced with clock_gettime()
.
According to POSIX.1-2008 (compare with POSIX.1-2001)
gettimeofday
isOB XSI
("Obsolescent" + "X/Open System Interfaces"). XSI etxensions are provided by_XOPEN_SOURCE
, a superset of_POSIX_C_SOURCE
.