projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44dfe1
)
removed warning when compiling for Windows platform
author
Holger Schemel
<info@artsoft.org>
Sun, 6 Feb 2022 00:42:59 +0000
(
01:42
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 6 Feb 2022 02:05:52 +0000
(
03:05
+0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index ebcb47305133d67876d167c04b9d604aa6e40ff8..ad4170e66870a4edcb676221742ee83b1051ab3d 100644
(file)
--- 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;