mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
dix: inline SProcInternAtom()
No need for having an extra function for just few lines. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
3109a95e56
commit
0293e34b2e
@@ -1104,6 +1104,9 @@ ProcInternAtom(ClientPtr client)
|
||||
char *tchar;
|
||||
|
||||
REQUEST(xInternAtomReq);
|
||||
REQUEST_AT_LEAST_SIZE(xInternAtomReq);
|
||||
if (client->swapped)
|
||||
swaps(&stuff->nbytes);
|
||||
|
||||
REQUEST_FIXED_SIZE(xInternAtomReq, stuff->nbytes);
|
||||
if ((stuff->onlyIfExists != xTrue) && (stuff->onlyIfExists != xFalse)) {
|
||||
|
||||
@@ -169,15 +169,6 @@ SProcConfigureWindow(ClientPtr client)
|
||||
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcInternAtom(ClientPtr client)
|
||||
{
|
||||
REQUEST(xInternAtomReq);
|
||||
REQUEST_AT_LEAST_SIZE(xInternAtomReq);
|
||||
swaps(&stuff->nbytes);
|
||||
return ((*ProcVector[X_InternAtom]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcChangeProperty(ClientPtr client)
|
||||
{
|
||||
|
||||
@@ -347,7 +347,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
||||
ProcCirculateWindow,
|
||||
ProcGetGeometry,
|
||||
ProcQueryTree, /* 15 */
|
||||
SProcInternAtom,
|
||||
ProcInternAtom,
|
||||
ProcGetAtomName,
|
||||
SProcChangeProperty,
|
||||
SProcDeleteProperty,
|
||||
|
||||
@@ -61,7 +61,6 @@ int SProcGetImage(ClientPtr client);
|
||||
int SProcGetMotionEvents(ClientPtr client);
|
||||
int SProcGetProperty(ClientPtr client);
|
||||
int SProcImageText(ClientPtr client);
|
||||
int SProcInternAtom(ClientPtr client);
|
||||
int SProcListFonts(ClientPtr client);
|
||||
int SProcListFontsWithInfo(ClientPtr client);
|
||||
int SProcLookupColor(ClientPtr client);
|
||||
|
||||
Reference in New Issue
Block a user