From 1e3bdb35a686bbc9665c610c942ec2c1353f2ebc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 1 Mar 2014 10:40:24 -0700 Subject: [PATCH] mesa: remove unneeded glthread.c file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The _glthread_GetID() function is also defined in mapi_glapi.c Reviewed-by: José Fonseca --- src/mapi/glapi/Makefile.sources | 1 - src/mapi/glapi/SConscript | 1 - src/mapi/glapi/glthread.c | 7 ------- 3 files changed, 9 deletions(-) delete mode 100644 src/mapi/glapi/glthread.c diff --git a/src/mapi/glapi/Makefile.sources b/src/mapi/glapi/Makefile.sources index 58d28c52c90..100e6347ee9 100644 --- a/src/mapi/glapi/Makefile.sources +++ b/src/mapi/glapi/Makefile.sources @@ -6,7 +6,6 @@ GLAPI_SOURCES = \ glapi_gentable.c \ glapi_getproc.c \ glapi_nop.c \ - glthread.c \ glapi.c X86_API = \ diff --git a/src/mapi/glapi/SConscript b/src/mapi/glapi/SConscript index 152818d223f..bc1c43aa865 100644 --- a/src/mapi/glapi/SConscript +++ b/src/mapi/glapi/SConscript @@ -34,7 +34,6 @@ glapi_sources = [ 'glapi_entrypoint.c', 'glapi_getproc.c', 'glapi_nop.c', - 'glthread.c', 'glapi.c', ] diff --git a/src/mapi/glapi/glthread.c b/src/mapi/glapi/glthread.c deleted file mode 100644 index 00915380f97..00000000000 --- a/src/mapi/glapi/glthread.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "glapi/glapi.h" - -unsigned long -_glthread_GetID(void) -{ - return u_thread_self(); -} -- 2.30.2