mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-28 02:21:08 +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:
parent
a53697e70e
commit
2e6a9a1fbc
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue