summaryrefslogtreecommitdiff
path: root/hw/xnest/GC.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xnest/GC.c')
-rw-r--r--hw/xnest/GC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xnest/GC.c b/hw/xnest/GC.c
index 06e6e0205..65425e98f 100644
--- a/hw/xnest/GC.c
+++ b/hw/xnest/GC.c
@@ -35,7 +35,8 @@ is" without express or implied warranty.
#include "XNFont.h"
#include "Color.h"
-DevPrivateKey xnestGCPrivateKey = &xnestGCPrivateKey;
+static int xnestGCPrivateKeyIndex;
+DevPrivateKey xnestGCPrivateKey = &xnestGCPrivateKeyIndex;
static GCFuncs xnestFuncs = {
xnestValidateGC,