diff options
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/glapi.h | 4 | ||||
-rw-r--r-- | src/mapi/mapi_glapi.c | 6 | ||||
-rw-r--r-- | src/mapi/u_thread.h | 4 |
3 files changed, 2 insertions, 12 deletions
diff --git a/src/mapi/glapi/glapi.h b/src/mapi/glapi/glapi.h index dcf91a7f3f4..7c22985ec40 100644 --- a/src/mapi/glapi/glapi.h +++ b/src/mapi/glapi/glapi.h @@ -168,10 +168,6 @@ _GLAPI_EXPORT struct _glapi_table * _glapi_create_table_from_handle(void *handle, const char *symbol_prefix); -_GLAPI_EXPORT unsigned long -_glthread_GetID(void); - - /* * These stubs are kept so that the old DRI drivers still load. */ diff --git a/src/mapi/mapi_glapi.c b/src/mapi/mapi_glapi.c index 7b9f1aee492..925caf36c08 100644 --- a/src/mapi/mapi_glapi.c +++ b/src/mapi/mapi_glapi.c @@ -222,12 +222,6 @@ _glapi_get_proc_name(unsigned int offset) return stub ? stub_get_name(stub) : NULL; } -unsigned long -_glthread_GetID(void) -{ - return u_thread_self(); -} - void _glapi_noop_enable_warnings(unsigned char enable) { diff --git a/src/mapi/u_thread.h b/src/mapi/u_thread.h index 3e183589c98..0fc93929c99 100644 --- a/src/mapi/u_thread.h +++ b/src/mapi/u_thread.h @@ -101,8 +101,8 @@ u_thread_self(void) * So for now, we side-step this mess and use Windows thread primitives * directly here. * - * FIXME: On the other hand, u_thread_self() and _glthread_GetID() are bad - * abstractions. Even with pthreads, there is no guarantee that + * FIXME: On the other hand, u_thread_self() is a bad + * abstraction. Even with pthreads, there is no guarantee that * pthread_self() will return numeric IDs -- we should be using * pthread_equal() instead of assuming we can compare thread ids... */ |