From 06ac7937fc37cdf073b77386bed47e14cff23628 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 12 Jul 2012 12:37:05 +0100 Subject: [PATCH] Restore extern to the declaration of __glXDRISWRastProvider b86aa74 dropped the 'extern' from the declaration of __glXDRISWRastProvider This turns out to be important to me, as without it, the final link only gets the tentative definition of __glXDRISWRastProvider implied by the declaration, and not the proper one from glxdriswrast.c, presumably because nothing else references anything in the object that file generates. Signed-off-by: Jon TURNEY Reviewed-by: Daniel Stone Reviewed-by: Colin Harrison --- glx/glxserver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glx/glxserver.h b/glx/glxserver.h index d9b106b82..1021aec80 100644 --- a/glx/glxserver.h +++ b/glx/glxserver.h @@ -97,7 +97,7 @@ struct __GLXprovider { const char *name; __GLXprovider *next; }; -__GLXprovider __glXDRISWRastProvider; +extern __GLXprovider __glXDRISWRastProvider; void GlxPushProvider(__GLXprovider * provider);