projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed warning when compiling for Windows platform
[rocksndiamonds.git]
/
src
/
tools.c
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().
*/
* 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;
{
FILETIME file_time;
SYSTEMTIME system_time;