mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
Xext: bigreq: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping much easier. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
a53697e70e
commit
2e6a9a1fbc
@@ -45,8 +45,7 @@ from The Open Group.
|
||||
static int
|
||||
ProcBigReqDispatch(ClientPtr client)
|
||||
{
|
||||
REQUEST(xBigReqEnableReq);
|
||||
REQUEST_SIZE_MATCH(xBigReqEnableReq);
|
||||
X_REQUEST_HEAD_STRUCT(xBigReqEnableReq);
|
||||
|
||||
if (stuff->brReqType != X_BigReqEnable)
|
||||
return BadRequest;
|
||||
|
||||
Reference in New Issue
Block a user