[Mesa-dev] [PATCH 10/10] mesa: remove unneeded glthread.c file
Brian Paul
brianp at vmware.com
Sat Mar 1 11:22:04 PST 2014
The _glthread_GetID() function is also defined in mapi_glapi.c
---
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 58d28c5..100e634 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 152818d..bc1c43a 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 0091538..0000000
--- 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();
-}
--
1.7.10.4
More information about the mesa-dev
mailing list