hw/xwin: Align parameter names in prototypes with definition

A follow up to commits 2d9123fd, 451c5d91 and efe96a17, which changed the
parameter name in the definition from index to i, to fix shadowing index() but
didn't adjust the prototype declaration.

Signed-off-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Colin Harrison 2014-02-28 14:20:48 +00:00 committed by Jon TURNEY
parent e53568e2c5
commit d75195b626
2 changed files with 4 additions and 4 deletions

View File

@ -751,7 +751,7 @@ Bool
winAllocatePrivates(ScreenPtr pScreen); winAllocatePrivates(ScreenPtr pScreen);
Bool Bool
winInitCmapPrivates(ColormapPtr pCmap, int index); winInitCmapPrivates(ColormapPtr pCmap, int i);
Bool Bool
winAllocateCmapPrivates(ColormapPtr pCmap); winAllocateCmapPrivates(ColormapPtr pCmap);
@ -1056,12 +1056,12 @@ Bool
winScreenInit(ScreenPtr pScreen, int argc, char **argv); winScreenInit(ScreenPtr pScreen, int argc, char **argv);
Bool Bool
winFinishScreenInitFB(int index, ScreenPtr pScreen, int argc, char **argv); winFinishScreenInitFB(int i, ScreenPtr pScreen, int argc, char **argv);
#if defined(XWIN_NATIVEGDI) #if defined(XWIN_NATIVEGDI)
Bool Bool
winFinishScreenInitNativeGDI(int index, winFinishScreenInitNativeGDI(int i,
ScreenPtr pScreen, int argc, char **argv); ScreenPtr pScreen, int argc, char **argv);
#endif #endif

View File

@ -40,4 +40,4 @@ struct GetMonitorInfoData {
HMONITOR monitorHandle; HMONITOR monitorHandle;
}; };
Bool QueryMonitor(int index, struct GetMonitorInfoData *data); Bool QueryMonitor(int i, struct GetMonitorInfoData *data);