Use internal temp variable for swap macros
Also, fix whitespace, mainly around swaps(&rep.sequenceNumber) Reviewed-by: Peter Harris <pharris@opentext.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -220,13 +220,12 @@ ProcXFixesSelectSelectionInput (ClientPtr client)
|
||||
int
|
||||
SProcXFixesSelectSelectionInput (ClientPtr client)
|
||||
{
|
||||
register int n;
|
||||
REQUEST(xXFixesSelectSelectionInputReq);
|
||||
|
||||
swaps(&stuff->length, n);
|
||||
swapl(&stuff->window, n);
|
||||
swapl(&stuff->selection, n);
|
||||
swapl(&stuff->eventMask, n);
|
||||
swaps(&stuff->length);
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->selection);
|
||||
swapl(&stuff->eventMask);
|
||||
return (*ProcXFixesVector[stuff->xfixesReqType])(client);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user