diff --git a/dix/colormap.c b/dix/colormap.c index 0673c68d7..c63646a8d 100644 --- a/dix/colormap.c +++ b/dix/colormap.c @@ -107,8 +107,7 @@ static void FreeCell(ColormapPtr /*pmap */ , int /*channel */ ); -static void UpdateColors(ColormapPtr /*pmap */ - ); +static void doUpdateColors(ColormapPtr pmap); static int AllocDirect(int /*client */ , ColormapPtr /*pmap */ , @@ -558,7 +557,7 @@ CopyColormapAndFree(Colormap mid, ColormapPtr pSrc, int client) } pSrc->flags &= ~AllAllocated; FreePixels(pSrc, client); - UpdateColors(pmap); + doUpdateColors(pmap); return Success; } @@ -568,7 +567,7 @@ CopyColormapAndFree(Colormap mid, ColormapPtr pSrc, int client) CopyFree(BLUEMAP, client, pSrc, pmap); } if (pmap->class & DynamicClass) - UpdateColors(pmap); + doUpdateColors(pmap); /* XXX should worry about removing any X11_RESTYPE_CMAPENTRY resource */ return Success; } @@ -698,7 +697,7 @@ FreeCell(ColormapPtr pmap, Pixel i, int channel) } static void -UpdateColors(ColormapPtr pmap) +doUpdateColors(ColormapPtr pmap) { xColorItem *defs; xColorItem *pdef;