mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 12:49:21 +00:00
hw/xwin: Fix using index as a formal parameter shadows index()
Using index as a formal parameter shadows index() from strings.h winallpriv.c: In function ‘winInitCmapPrivates’: winallpriv.c:119:45: error: declaration of ‘index’ shadows a global declaration Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
@@ -110,7 +110,7 @@ winAllocatePrivates(ScreenPtr pScreen)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
winInitCmapPrivates(ColormapPtr pcmap, int index)
|
winInitCmapPrivates(ColormapPtr pcmap, int i)
|
||||||
{
|
{
|
||||||
#if CYGDEBUG
|
#if CYGDEBUG
|
||||||
winDebug("winInitCmapPrivates\n");
|
winDebug("winInitCmapPrivates\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user