mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 09:20:02 +01: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:
parent
451c5d9175
commit
efe96a17bd
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ winAllocatePrivates(ScreenPtr pScreen)
|
|||
*/
|
||||
|
||||
Bool
|
||||
winInitCmapPrivates(ColormapPtr pcmap, int index)
|
||||
winInitCmapPrivates(ColormapPtr pcmap, int i)
|
||||
{
|
||||
#if CYGDEBUG
|
||||
winDebug("winInitCmapPrivates\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue