Mesa (master): mapi: Fix a warning in !THREADS build.
Chia-I Wu
olv at kemper.freedesktop.org
Sun Dec 12 10:00:28 UTC 2010
Module: Mesa
Branch: master
Commit: 1c01bedb02617d8c0ff208b39d11e50fd1051430
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c01bedb02617d8c0ff208b39d11e50fd1051430
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Dec 12 17:56:49 2010 +0800
mapi: Fix a warning in !THREADS build.
It should be u_thread_self, not _glthread_GetID.
---
src/mapi/mapi/u_thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mapi/mapi/u_thread.c b/src/mapi/mapi/u_thread.c
index e9eae55..138db47 100644
--- a/src/mapi/mapi/u_thread.c
+++ b/src/mapi/mapi/u_thread.c
@@ -222,7 +222,7 @@ u_tsd_set(struct u_tsd *tsd, void *ptr)
*/
unsigned long
-_glthread_GetID(void)
+u_thread_self(void)
{
return 0;
}
More information about the mesa-commit
mailing list