summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_thread.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-03-16 12:39:07 +0100
committerMichal Krol <[email protected]>2009-03-16 12:39:07 +0100
commited7bb2c196cbe9df8d56ab409da459a9dc4894b4 (patch)
treee906befce1994018c26aace5e8d480f47fa3214a /src/gallium/include/pipe/p_thread.h
parentbf6ed0b9625283fa7ca00f8fcdcf8fa4460befdd (diff)
gallium: Use macro parameter names consistently.
Diffstat (limited to 'src/gallium/include/pipe/p_thread.h')
-rw-r--r--src/gallium/include/pipe/p_thread.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gallium/include/pipe/p_thread.h b/src/gallium/include/pipe/p_thread.h
index e27b37cf9dd..a9cd77541d4 100644
--- a/src/gallium/include/pipe/p_thread.h
+++ b/src/gallium/include/pipe/p_thread.h
@@ -134,20 +134,20 @@ static INLINE int pipe_thread_destroy( pipe_thread thread )
typedef CRITICAL_SECTION pipe_mutex;
-#define pipe_static_mutex(name) \
- /*static*/ pipe_mutex name = {0,0,0,0,0,0}
+#define pipe_static_mutex(mutex) \
+ /*static*/ pipe_mutex mutex = {0,0,0,0,0,0}
-#define pipe_mutex_init(name) \
- InitializeCriticalSection(&name)
+#define pipe_mutex_init(mutex) \
+ InitializeCriticalSection(&mutex)
-#define pipe_mutex_destroy(name) \
- DeleteCriticalSection(&name)
+#define pipe_mutex_destroy(mutex) \
+ DeleteCriticalSection(&mutex)
-#define pipe_mutex_lock(name) \
- EnterCriticalSection(&name)
+#define pipe_mutex_lock(mutex) \
+ EnterCriticalSection(&mutex)
-#define pipe_mutex_unlock(name) \
- LeaveCriticalSection(&name)
+#define pipe_mutex_unlock(mutex) \
+ LeaveCriticalSection(&mutex)
/* XXX: dummy definitions, make it compile */