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 @@ -356,6 +356,14 @@ extern Bool InitializePsDriver(int ndx, ScreenPtr pScreen, int argc, char **argv); 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);