wineps.drv: Make PSDRV_WriteRGB() static.
This commit is contained in:
parent
fabfc5da78
commit
3704821417
|
@ -655,7 +655,7 @@ BOOL PSDRV_WriteIndexColorSpaceEnd(PHYSDEV dev)
|
||||||
return PSDRV_WriteSpool(dev, buf, sizeof(buf) - 1);
|
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;
|
char *buf = HeapAlloc(PSDRV_Heap, 0, number * 7 + 1), *ptr;
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -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_WriteRotate(PHYSDEV dev, float ang) DECLSPEC_HIDDEN;
|
||||||
extern BOOL PSDRV_WriteIndexColorSpaceBegin(PHYSDEV dev, int size) DECLSPEC_HIDDEN;
|
extern BOOL PSDRV_WriteIndexColorSpaceBegin(PHYSDEV dev, int size) DECLSPEC_HIDDEN;
|
||||||
extern BOOL PSDRV_WriteIndexColorSpaceEnd(PHYSDEV dev) 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_WriteRGBQUAD(PHYSDEV dev, const RGBQUAD *rgb, int number) DECLSPEC_HIDDEN;
|
||||||
extern BOOL PSDRV_WriteImage(PHYSDEV dev, WORD depth, INT xDst, INT yDst,
|
extern BOOL PSDRV_WriteImage(PHYSDEV dev, WORD depth, INT xDst, INT yDst,
|
||||||
INT widthDst, INT heightDst, INT widthSrc,
|
INT widthDst, INT heightDst, INT widthSrc,
|
||||||
|
|
Loading…
Reference in New Issue