summaryrefslogtreecommitdiffstats
path: root/osdep/timer-win2.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/timer-win2.c')
-rw-r--r--osdep/timer-win2.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/osdep/timer-win2.c b/osdep/timer-win2.c
index 43c4b07fa9..3c6b86afa4 100644
--- a/osdep/timer-win2.c
+++ b/osdep/timer-win2.c
@@ -7,12 +7,14 @@
const char timer_name[] = "Windows native";
// Returns current time in microseconds
-unsigned int GetTimer(){
+unsigned int GetTimer(void)
+{
return timeGetTime() * 1000;
}
// Returns current time in milliseconds
-unsigned int GetTimerMS(){
+unsigned int GetTimerMS(void)
+{
return timeGetTime() ;
}
@@ -25,5 +27,6 @@ int usec_sleep(int usec_delay){
return 0;
}
-void InitTimer(){
+void InitTimer(void)
+{
}