diff options
Diffstat (limited to 'Xprint/ps/PsPixmap.c')
-rw-r--r-- | Xprint/ps/PsPixmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Xprint/ps/PsPixmap.c b/Xprint/ps/PsPixmap.c index 2c3e43245..2e821aa1c 100644 --- a/Xprint/ps/PsPixmap.c +++ b/Xprint/ps/PsPixmap.c @@ -57,7 +57,7 @@ in this Software without prior written authorization from The Open Group. * or other dealings in this Software without prior written authorization * from said copyright holders. */ - +/* $XFree86: xc/programs/Xserver/Xprint/ps/PsPixmap.c,v 1.5 2001/12/14 19:59:16 dawes Exp $ */ /******************************************************************* ** ** ********************************************************* @@ -79,10 +79,6 @@ in this Software without prior written authorization from The Open Group. #include "Ps.h" -#define BitsPerPixel(d) (\ - (1 << PixmapWidthPaddingInfo[d].padBytesLog2) * 8 / \ - (PixmapWidthPaddingInfo[d].padRoundUp+1)) - PixmapPtr PsCreatePixmap( ScreenPtr pScreen, @@ -203,7 +199,7 @@ PsGetFreeDisplayBlock(PsPixmapPrivPtr priv) return(disp); } -void +static void PsReplay(DisplayElmPtr elm, DrawablePtr pDrawable) { switch(elm->type) @@ -492,6 +488,8 @@ PsCreateFillElementList(PixmapPtr pix, int *nElms) case PolyFillArcCmd: *nElms += elm->c.arcs.nArcs; break; + default: + break; } } } @@ -554,6 +552,8 @@ PsCreateFillElementList(PixmapPtr pix, int *nElms) *nElms += 1; } break; + default: + break; } } } |