Francois Gouget : wineps.drv: Make PSDRV_WriteRGB() static.
Alexandre Julliard
julliard at winehq.org
Tue Aug 23 12:45:08 CDT 2011
Module: wine
Branch: master
Commit: 3704821417337a9bc3a6378fbf32e91e79afebb5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3704821417337a9bc3a6378fbf32e91e79afebb5
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Aug 23 14:11:37 2011 +0200
wineps.drv: Make PSDRV_WriteRGB() static.
---
dlls/wineps.drv/ps.c | 2 +-
dlls/wineps.drv/psdrv.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/wineps.drv/ps.c b/dlls/wineps.drv/ps.c
index ab9d570..09b02ef 100644
--- a/dlls/wineps.drv/ps.c
+++ b/dlls/wineps.drv/ps.c
@@ -655,7 +655,7 @@ BOOL PSDRV_WriteIndexColorSpaceEnd(PHYSDEV dev)
return PSDRV_WriteSpool(dev, buf, sizeof(buf) - 1);
}
-BOOL PSDRV_WriteRGB(PHYSDEV dev, COLORREF *map, int number)
+static BOOL PSDRV_WriteRGB(PHYSDEV dev, COLORREF *map, int number)
{
char *buf = HeapAlloc(PSDRV_Heap, 0, number * 7 + 1), *ptr;
int i;
diff --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h
index 7b8185f..f4bb17d 100644
--- a/dlls/wineps.drv/psdrv.h
+++ b/dlls/wineps.drv/psdrv.h
@@ -519,7 +519,6 @@ extern BOOL PSDRV_WriteHatch(PHYSDEV dev) DECLSPEC_HIDDEN;
extern BOOL PSDRV_WriteRotate(PHYSDEV dev, float ang) DECLSPEC_HIDDEN;
extern BOOL PSDRV_WriteIndexColorSpaceBegin(PHYSDEV dev, int size) DECLSPEC_HIDDEN;
extern BOOL PSDRV_WriteIndexColorSpaceEnd(PHYSDEV dev) DECLSPEC_HIDDEN;
-extern BOOL PSDRV_WriteRGB(PHYSDEV dev, COLORREF *map, int number) DECLSPEC_HIDDEN;
extern BOOL PSDRV_WriteRGBQUAD(PHYSDEV dev, const RGBQUAD *rgb, int number) DECLSPEC_HIDDEN;
extern BOOL PSDRV_WriteImage(PHYSDEV dev, WORD depth, INT xDst, INT yDst,
INT widthDst, INT heightDst, INT widthSrc,
More information about the wine-cvs
mailing list