mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-05 04:10:25 +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
|
Bool
|
||||||
winInitCmapPrivates(ColormapPtr pcmap, int index)
|
winInitCmapPrivates(ColormapPtr pcmap, int i)
|
||||||
{
|
{
|
||||||
#if CYGDEBUG
|
#if CYGDEBUG
|
||||||
winDebug("winInitCmapPrivates\n");
|
winDebug("winInitCmapPrivates\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue