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:
parent
451c5d9175
commit
efe96a17bd
|
@ -110,7 +110,7 @@ winAllocatePrivates(ScreenPtr pScreen)
|
|||
*/
|
||||
|
||||
Bool
|
||||
winInitCmapPrivates(ColormapPtr pcmap, int index)
|
||||
winInitCmapPrivates(ColormapPtr pcmap, int i)
|
||||
{
|
||||
#if CYGDEBUG
|
||||
winDebug("winInitCmapPrivates\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user