glapi: fix unused-function warning

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7713>
This commit is contained in:
Michel Zou 2020-11-22 10:38:38 +01:00 committed by Marge Bot
parent 89b01cc025
commit 07a68d27b3

View file

@ -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