summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-07-12 12:37:05 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-07-12 13:25:57 +0100
commit06ac7937fc37cdf073b77386bed47e14cff23628 (patch)
tree5565b9dc45ee5d1c1dd0cfab674a8f171878526c /glx
parentbcbf95b1bafa6ffe724768b9309295e2fdb4b860 (diff)
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 <jon.turney@dronecode.org.uk> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'glx')
-rw-r--r--glx/glxserver.h2
1 files changed, 1 insertions, 1 deletions
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);