summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 11:15:34 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 11:15:34 -0700
commitee2bb4d1929e20436cf0e830ece02fe07db2d524 (patch)
treef61916794f7adbd5a1ecdbe4801a94e7e8ed8315
parent92303d534a91cb0ea30e4cd0f639efd70b9739b4 (diff)
fix compiler warnings in Xprint/ps/PsArea.c
-rw-r--r--Xprint/ps/Ps.h3
-rw-r--r--Xprint/ps/PsArea.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Xprint/ps/Ps.h b/Xprint/ps/Ps.h
index 576c3b24e..68c95f9c9 100644
--- a/Xprint/ps/Ps.h
+++ b/Xprint/ps/Ps.h
@@ -427,6 +427,9 @@ extern void PsSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *pSrc,
extern void PsPutScaledImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
int x, int y, int w, int h, int leftPad, int format,
int imageRes, char *pImage);
+extern void PsPutScaledImageIM(DrawablePtr pDrawable, GCPtr pGC, int depth,
+ int x, int y, int w, int h, int leftPad,
+ int format, int imageRes, char *pImage);
extern void PsPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
int x, int y, int w, int h, int leftPad, int format,
char *pImage);
diff --git a/Xprint/ps/PsArea.c b/Xprint/ps/PsArea.c
index 32a4d5cf4..bf6f8f42a 100644
--- a/Xprint/ps/PsArea.c
+++ b/Xprint/ps/PsArea.c
@@ -118,7 +118,6 @@ PsPutScaledImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y,
{
int i, j;
int r, c;
- char *pt;
PsOutPtr psOut;
ColormapPtr cMap;
int pageRes, sw, sh;
@@ -230,7 +229,6 @@ PsPutScaledImageIM(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y,
{
int i, j;
int r, c;
- char *pt;
PsOutPtr psOut;
ColormapPtr cMap;
int pageRes, sw, sh;