[Mesa-dev] [PATCH 10/10] mesa: remove unneeded glthread.c file
Jose Fonseca
jfonseca at vmware.com
Mon Mar 3 07:25:35 PST 2014
Series looks good to me. Thanks for the nice cleanup.
Jose
----- Original Message -----
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/mesa-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=XGgyAYWVdtoa0yzHpyy7d1NFvXe5tjKbieq7XL1c7P0%3D%0A&s=259a5c225c22e4aad6650ba0fc36150a065ba21f945f3f23629f4f5daf6f8cf6
>
More information about the mesa-dev
mailing list