Xi: inline SProcXChangeDeviceControl()

No need to have a hole bunch of extra functions, if we can just easily
inline the few relevant lines.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-16 19:28:55 +02:00
committed by Enrico Weigelt
parent 88ed85dffc
commit 4fa442b6eb
4 changed files with 12 additions and 37 deletions

View File

@@ -78,7 +78,7 @@ request_ChangeDeviceControl(ClientPtr client, xChangeDeviceControlReq * req,
swaps(&ctl->length);
swaps(&ctl->control);
/* XXX: swap other contents of ctl, depending on type */
rc = SProcXChangeDeviceControl(&client_request);
rc = ProcXChangeDeviceControl(&client_request);
assert(rc == error);
}