summaryrefslogtreecommitdiff
path: root/hw/xfree86/exa/exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/exa/exa.c')
-rw-r--r--hw/xfree86/exa/exa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/xfree86/exa/exa.c b/hw/xfree86/exa/exa.c
index 53301c949..b7ba3b319 100644
--- a/hw/xfree86/exa/exa.c
+++ b/hw/xfree86/exa/exa.c
@@ -45,7 +45,7 @@
#define STRACE
#define TRACE
-int exaGeneration;
+static int exaGeneration;
int exaScreenPrivateIndex;
int exaPixmapPrivateIndex;
@@ -746,7 +746,7 @@ exaCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC,
return fbDoCopy (pSrcDrawable, pDstDrawable, pGC,
srcx, srcy, width, height,
- dstx, dsty, exaCopyNtoN, 0, 0);
+ dstx, dsty, exaCopyNtoN, 0, NULL);
}
static void
@@ -963,7 +963,7 @@ exaImageGlyphBlt (DrawablePtr pDrawable,
ExaCheckImageGlyphBlt(pDrawable, pGC, x, y, nglyph, ppciInit, pglyphBase);
return;
}
- glyph = 0;
+ glyph = NULL;
fbGetDrawable (pDrawable, dst, dstStride, dstBpp, dstXoff, dstYoff);
switch (dstBpp) {
case 8: glyph = fbGlyph8; break;
@@ -1096,7 +1096,7 @@ exaValidateGC (GCPtr pGC, Mask changes, DrawablePtr pDrawable)
pGC->ops = (GCOps *) &exaAsyncPixmapGCOps;
}
-GCFuncs exaGCFuncs = {
+static GCFuncs exaGCFuncs = {
exaValidateGC,
miChangeGC,
miCopyGC,
@@ -1149,8 +1149,8 @@ exaCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
#endif
fbCopyRegion (&pPixmap->drawable, &pPixmap->drawable,
- 0,
- &rgnDst, dx, dy, exaCopyNtoN, 0, 0);
+ NULL,
+ &rgnDst, dx, dy, exaCopyNtoN, 0, NULL);
REGION_UNINIT(pWin->drawable.pScreen, &rgnDst);
}