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. --- exa/exa.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'exa') diff --git a/exa/exa.c b/exa/exa.c index 12c154960..677e2d52b 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -38,8 +38,10 @@ #include "exa.h" #include "cw.h" -DevPrivateKey exaScreenPrivateKey = &exaScreenPrivateKey; -DevPrivateKey exaPixmapPrivateKey = &exaPixmapPrivateKey; +static int exaScreenPrivateKeyIndex; +DevPrivateKey exaScreenPrivateKey = &exaScreenPrivateKeyIndex; +static int exaPixmapPrivateKeyIndex; +DevPrivateKey exaPixmapPrivateKey = &exaPixmapPrivateKeyIndex; static _X_INLINE void* ExaGetPixmapAddress(PixmapPtr p) -- cgit v1.2.3