summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/util/u_time.c2
-rw-r--r--src/gallium/auxiliary/util/u_time.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_time.c b/src/gallium/auxiliary/util/u_time.c
index e6c0b19ff66..04f85c42efb 100644
--- a/src/gallium/auxiliary/util/u_time.c
+++ b/src/gallium/auxiliary/util/u_time.c
@@ -133,7 +133,7 @@ util_time_timeout(const struct util_time *start,
#ifdef WIN32
-void util_time_usleep(unsigned usecs)
+void util_time_sleep(unsigned usecs)
{
LONGLONG start, curr, end;
diff --git a/src/gallium/auxiliary/util/u_time.h b/src/gallium/auxiliary/util/u_time.h
index 32035cceb5e..2133958446b 100644
--- a/src/gallium/auxiliary/util/u_time.h
+++ b/src/gallium/auxiliary/util/u_time.h
@@ -87,7 +87,7 @@ util_time_timeout(const struct util_time *start,
#ifndef WIN32
#define util_time_sleep usleep
#else
-int
+void
util_time_sleep(unsigned usecs);
#endif