aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/u_current.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-03-05 07:47:41 -0700
committerBrian Paul <[email protected]>2014-03-06 07:47:12 -0700
commit846a7e86309ab3877af6b7d3a63880468dfacbd3 (patch)
tree436250171e9f39a0249cfc00c11185cec4194e69 /src/mapi/u_current.c
parent280e0657072459804896e4c05d45d1cf8bfc97c4 (diff)
glapi: rename u_current dispatch table functions
Put "table" in the names to make things more understandable. Reviewed-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mapi/u_current.c')
-rw-r--r--src/mapi/u_current.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapi/u_current.c b/src/mapi/u_current.c
index 72190feb9ff..76dae91c367 100644
--- a/src/mapi/u_current.c
+++ b/src/mapi/u_current.c
@@ -168,7 +168,7 @@ u_current_init(void)
}
else if (knownID != u_thread_self()) {
ThreadSafe = 1;
- u_current_set(NULL);
+ u_current_set_table(NULL);
u_current_set_context(NULL);
}
u_mutex_unlock(ThreadCheckMutex);
@@ -230,7 +230,7 @@ u_current_get_context_internal(void)
* table (__glapi_noop_table).
*/
void
-u_current_set(const struct mapi_table *tbl)
+u_current_set_table(const struct mapi_table *tbl)
{
u_current_init();
@@ -253,7 +253,7 @@ u_current_set(const struct mapi_table *tbl)
* Return pointer to current dispatch table for calling thread.
*/
struct mapi_table *
-u_current_get_internal(void)
+u_current_get_table_internal(void)
{
#if defined(GLX_USE_TLS)
return u_current_table;