mesa: remove unneeded glthread.c file
authorBrian Paul <brianp@vmware.com>
Sat, 1 Mar 2014 17:40:24 +0000 (10:40 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 3 Mar 2014 20:09:00 +0000 (13:09 -0700)
The _glthread_GetID() function is also defined in mapi_glapi.c

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mapi/glapi/Makefile.sources
src/mapi/glapi/SConscript
src/mapi/glapi/glthread.c [deleted file]

index 58d28c52c90d442f612c9962a8adf53916b72a90..100e6347ee9fd5a4f95010d1eab2853683a8cdce 100644 (file)
@@ -6,7 +6,6 @@ GLAPI_SOURCES = \
        glapi_gentable.c \
        glapi_getproc.c \
        glapi_nop.c \
-       glthread.c \
        glapi.c
 
 X86_API =                      \
index 152818d223f3dcf09db68d35fffdae21e9006e07..bc1c43aa865274710b61aba019887baf8d615a22 100644 (file)
@@ -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 (file)
index 0091538..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "glapi/glapi.h"
-
-unsigned long
-_glthread_GetID(void)
-{
-   return u_thread_self();
-}