From ea24b5a25c2544f3b3de6480da125edb23a6b3a9 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 8 Jun 2006 11:22:01 -0700 Subject: [PATCH] add proper function prototypes for Xprint/ps/PsCache.c to Xprint/ps/Ps.h --- Xprint/ps/Ps.h | 8 ++++++++ Xprint/ps/PsCache.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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);