From ebea78cdba0ff14a397239ee1936bd254c181e1b Mon Sep 17 00:00:00 2001 From: Tomas Carnecky Date: Thu, 28 Aug 2008 18:05:40 -0400 Subject: Prepare for array-index based devPrivates. TODO: static indices can be made just an int; some indices can be combined. --- glx/glxscreens.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'glx/glxscreens.c') diff --git a/glx/glxscreens.c b/glx/glxscreens.c index 505f79754..d928bdfb8 100644 --- a/glx/glxscreens.c +++ b/glx/glxscreens.c @@ -48,7 +48,8 @@ #include "glxutil.h" #include "glxext.h" -static DevPrivateKey glxScreenPrivateKey = &glxScreenPrivateKey; +static int glxScreenPrivateKeyIndex; +static DevPrivateKey glxScreenPrivateKey = &glxScreenPrivateKeyIndex; const char GLServerVersion[] = "1.4"; static const char GLServerExtensions[] = -- cgit v1.2.3