mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 10:08:30 +00:00
(!1639) dbe: drop swapping request length fields
The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
13
dbe/dbe.c
13
dbe/dbe.c
@@ -811,11 +811,7 @@ ProcDbeDispatch(ClientPtr client)
|
||||
static int _X_COLD
|
||||
SProcDbeGetVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeGetVersionReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
return (ProcDbeGetVersion(client));
|
||||
|
||||
} /* SProcDbeGetVersion() */
|
||||
|
||||
/******************************************************************************
|
||||
@@ -845,8 +841,6 @@ static int _X_COLD
|
||||
SProcDbeAllocateBackBufferName(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeAllocateBackBufferNameReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xDbeAllocateBackBufferNameReq);
|
||||
|
||||
swapl(&stuff->window);
|
||||
@@ -878,8 +872,6 @@ static int _X_COLD
|
||||
SProcDbeDeallocateBackBufferName(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeDeallocateBackBufferNameReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xDbeDeallocateBackBufferNameReq);
|
||||
|
||||
swapl(&stuff->buffer);
|
||||
@@ -916,7 +908,6 @@ SProcDbeSwapBuffers(ClientPtr client)
|
||||
unsigned int i;
|
||||
xDbeSwapInfo *pSwapInfo;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_AT_LEAST_SIZE(xDbeSwapBuffersReq);
|
||||
|
||||
swapl(&stuff->n);
|
||||
@@ -961,8 +952,6 @@ static int _X_COLD
|
||||
SProcDbeGetVisualInfo(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeGetVisualInfoReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_AT_LEAST_SIZE(xDbeGetVisualInfoReq);
|
||||
|
||||
swapl(&stuff->n);
|
||||
@@ -992,8 +981,6 @@ static int _X_COLD
|
||||
SProcDbeGetBackBufferAttributes(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeGetBackBufferAttributesReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xDbeGetBackBufferAttributesReq);
|
||||
|
||||
swapl(&stuff->buffer);
|
||||
|
||||
Reference in New Issue
Block a user