summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 11:22:01 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 11:22:01 -0700
commitea24b5a25c2544f3b3de6480da125edb23a6b3a9 (patch)
tree0e57fbb045027893b8fea4a8b5e961b93c3ad376
parentee2bb4d1929e20436cf0e830ece02fe07db2d524 (diff)
downloadxserver-ea24b5a25c2544f3b3de6480da125edb23a6b3a9.tar.gz
add proper function prototypes for Xprint/ps/PsCache.c to Xprint/ps/Ps.h
-rw-r--r--Xprint/ps/Ps.h8
-rw-r--r--Xprint/ps/PsCache.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/Xprint/ps/Ps.h b/Xprint/ps/Ps.h
index 68c95f9c9..4effc2066 100644
--- a/Xprint/ps/Ps.h
+++ b/Xprint/ps/Ps.h
@@ -357,6 +357,14 @@ extern Bool InitializePsDriver(int ndx, ScreenPtr pScreen, int argc,
extern XpContextPtr PsGetContextFromWindow(WindowPtr win);
/*
+ * Functions in PsCache.c
+ */
+
+extern int PsBmIsImageCached(int gWidth, int gHeight, char *pBuffer);
+extern int PsBmPutImageInCache(int gWidth, int gHeight, char *pBuffer);
+extern void PsBmClearImageCache(void);
+
+/*
* Functions in PsPrint.c
*/
diff --git a/Xprint/ps/PsCache.c b/Xprint/ps/PsCache.c
index e69aa2eb7..5c823a13e 100644
--- a/Xprint/ps/PsCache.c
+++ b/Xprint/ps/PsCache.c
@@ -317,7 +317,7 @@ PsBmClearImageCacheList(
}
void
-PsBmClearImageCache()
+PsBmClearImageCache(void)
{
PsBmClearImageCacheList(bm_cache);