On Mon, Jun 07, 2010 at 05:47:48PM -0400, Chris Ball wrote:
> /opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
> 'g_iCmapPrivateKey' undeclared (first use in this function)

Patch below:


From: Chris Ball <c...@laptop.org>
Date: Mon, 7 Jun 2010 17:52:45 -0400
Subject: [PATCH] Fix typo in devPrivates API patch

Commit faeebead7bfc.. causes a compile error, as found by tinderbox:

/opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
'g_iCmapPrivateKey' undeclared (first use in this function)

Make the obvious typo fix.

Signed-off-by: Chris Ball <c...@laptop.org>
---
 hw/xwin/win.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xwin/win.h b/hw/xwin/win.h
index 05913d7..a85264a 100644
--- a/hw/xwin/win.h
+++ b/hw/xwin/win.h
@@ -631,7 +631,7 @@ extern int                  g_fdMessageQueue;
 extern DevPrivateKeyRec                g_iScreenPrivateKeyRec;
 #define g_iScreenPrivateKey    (&g_iScreenPrivateKeyRec)
 extern DevPrivateKeyRec                g_iCmapPrivateKeyRec;
-#define g_iCmapPrivateKeyRec   (&g_iCmapPrivateKeyRec)
+#define g_iCmapPrivateKey      (&g_iCmapPrivateKeyRec)
 extern DevPrivateKeyRec                g_iGCPrivateKeyRec;
 #define g_iGCPrivateKey        (&g_iGCPrivateKeyRec)
 extern DevPrivateKeyRec                g_iPixmapPrivateKeyRec;
-- 
1.6.6.1
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Reply via email to