summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_thread.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-03-16 12:36:22 +0100
committerMichal Krol <michal@vmware.com>2009-03-16 12:36:22 +0100
commitbf6ed0b9625283fa7ca00f8fcdcf8fa4460befdd (patch)
treee3168af1fc7ac809ac85f439482f3664b1eba295 /src/gallium/include/pipe/p_thread.h
parent13dad5294b793cb1e4fe2b18e4d33c26096253a5 (diff)
gallium: pipe_mutex_init() is of type void.
Both the windows and fallback versions are void already.
Diffstat (limited to 'src/gallium/include/pipe/p_thread.h')
-rw-r--r--src/gallium/include/pipe/p_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_thread.h b/src/gallium/include/pipe/p_thread.h
index e59b999b9a..e27b37cf9d 100644
--- a/src/gallium/include/pipe/p_thread.h
+++ b/src/gallium/include/pipe/p_thread.h
@@ -73,7 +73,7 @@ typedef pthread_cond_t pipe_condvar;
static pipe_mutex mutex = PTHREAD_MUTEX_INITIALIZER
#define pipe_mutex_init(mutex) \
- pthread_mutex_init(&(mutex), NULL)
+ (void) pthread_mutex_init(&(mutex), NULL)
#define pipe_mutex_destroy(mutex) \
pthread_mutex_destroy(&(mutex))