diff options
author | Brian Paul <[email protected]> | 2014-03-04 15:24:16 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-05 11:05:48 -0700 |
commit | 02cb04c68ffbdaffaf7513ddc951584cac29f209 (patch) | |
tree | 9612e6e4f9f93f370cdd43196b168e286726b430 /src/mapi/mapi_glapi.c | |
parent | 0b0114cc3bd8ceccaa6cbad161a13f2da2631ae0 (diff) |
mesa: remove remaining uses of _glthread_GetID()
It was really only used in the radeon driver for a debug printf.
And evidently, libGL.so referenced it just to work around some sort
of linker issue.
This patch removes the two calls to the function and the function
itself.
Fixes undefined _glthread_GetID symbol in libGL reported by 'nm'.
Though, the missing symbol doesn't cause any issues on my system but
it does cause glxinfo to fail on one of our test systems.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mapi/mapi_glapi.c')
-rw-r--r-- | src/mapi/mapi_glapi.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |