Module Name:    xsrc
Committed By:   macallan
Date:           Wed Nov 24 23:29:22 UTC 2010

Modified Files:
        xsrc/external/mit/xf86-video-sunleo/dist/src: leo.h

Log Message:
make this compile on sparc64


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    xsrc/external/mit/xf86-video-sunleo/dist/src/leo.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-sunleo/dist/src/leo.h
diff -u xsrc/external/mit/xf86-video-sunleo/dist/src/leo.h:1.1.1.1 xsrc/external/mit/xf86-video-sunleo/dist/src/leo.h:1.2
--- xsrc/external/mit/xf86-video-sunleo/dist/src/leo.h:1.1.1.1	Fri Sep  4 20:12:48 2009
+++ xsrc/external/mit/xf86-video-sunleo/dist/src/leo.h	Wed Nov 24 23:29:22 2010
@@ -86,12 +86,13 @@
 
 #define GET_LEO_FROM_SCRN(p)    ((LeoPtr)((p)->driverPrivate))
 
-extern int LeoGCPrivateIndex;
 
 #define LEO_OLDPRIV (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 4)
 #if LEO_OLDPRIV
+extern int LeoGCPrivateIndex;
 #define LeoGetGCPrivate(g) (g)->devPrivates[LeoGCPrivateIndex].ptr
 #else
+extern DevPrivateKeyRec LeoGCPrivateIndex;
 #define LeoGetGCPrivate(g) dixLookupPrivate(&(g)->devPrivates, &LeoGCPrivateIndex)
 #endif
 

Reply via email to