Remove unused function that triggers warnings on Windows.

This was SVN commit r24183.
This commit is contained in:
Stan
2020-11-14 18:11:58 +00:00
parent 2f29b81027
commit 6b5fe442c7
@@ -87,14 +87,6 @@ static void LatchInitialSystemTime()
stInitial_ns = (hns - posix_epoch_hns) * 100;
}
static timespec TimespecFromNs(i64 ns)
{
timespec ts;
ts.tv_sec = (time_t)((ns / _1e9) & 0xFFFFFFFF);
ts.tv_nsec = (long)(ns % _1e9);
return ts;
}
static size_t MsFromTimespec(const timespec& ts)
{
i64 ms = ts.tv_sec; // avoid overflow