add proper function prototypes for Xprint/ps/PsCache.c to Xprint/ps/Ps.h

This commit is contained in:
Greg Kroah-Hartman 2006-06-08 11:22:01 -07:00
parent ee2bb4d192
commit ea24b5a25c
2 changed files with 9 additions and 1 deletions

View File

@ -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
*/

View File

@ -317,7 +317,7 @@ PsBmClearImageCacheList(
}
void
PsBmClearImageCache()
PsBmClearImageCache(void)
{
PsBmClearImageCacheList(bm_cache);