summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-04-15 12:35:00 +0900
committerJosé Fonseca <[email protected]>2008-04-15 12:39:22 +0900
commit0b995b44e5a02dd4a3abdb6b2a0821a32e597e7c (patch)
treeb84ee2069c30d46af73cc60e2919ee0ebae419d6
parenta175e15f20b2a231cc9d09099e7b6d8aea6c624e (diff)
gallium: Fix mismatching prototypes.
-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