Mesa (master): glapi: fix unused-function warning
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 1 17:09:53 UTC 2020
Module: Mesa
Branch: master
Commit: 07a68d27b36bd0407a53a897fa55aa48410b13e7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=07a68d27b36bd0407a53a897fa55aa48410b13e7
Author: Michel Zou <xantares09 at hotmail.com>
Date: Sun Nov 22 10:38:38 2020 +0100
glapi: fix unused-function warning
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7713>
---
src/mapi/glapi/glapi_entrypoint.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mapi/glapi/glapi_entrypoint.c b/src/mapi/glapi/glapi_entrypoint.c
index ff20bac4810..b99819afa0d 100644
--- a/src/mapi/glapi/glapi_entrypoint.c
+++ b/src/mapi/glapi/glapi_entrypoint.c
@@ -310,10 +310,12 @@ fill_in_entrypoint_offset(_glapi_proc entrypoint, GLuint offset)
#else /* USE_*_ASM */
+#if defined(HAVE_PTHREAD) || defined(USE_ELF_TLS)
static void
init_glapi_relocs( void )
{
}
+#endif
_glapi_proc
More information about the mesa-commit
mailing list