From: Holger Schemel Date: Sun, 6 Feb 2022 00:42:59 +0000 (+0100) Subject: removed warning when compiling for Windows platform X-Git-Tag: 4.3.1.1~10 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c0f4e194ce5e6f55185b8cb142c774682afedac6;hp=c44dfe1e8ab65317cc4468352084a75dc19067a4;p=rocksndiamonds.git removed warning when compiling for Windows platform --- diff --git a/src/tools.c b/src/tools.c index ebcb4730..ad4170e6 100644 --- a/src/tools.c +++ b/src/tools.c @@ -9957,7 +9957,7 @@ static const unsigned __int64 epoch = ((unsigned __int64) 116444736000000000ULL) * Note: this function is not for Win32 high precision timing purpose. See * elapsed_time(). */ -int gettimeofday_windows(struct timeval * tp, struct timezone * tzp) +static int gettimeofday_windows(struct timeval * tp, struct timezone * tzp) { FILETIME file_time; SYSTEMTIME system_time;