diff options
author | Adam Jackson <ajax@redhat.com> | 2017-02-16 14:56:45 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-01 10:16:20 -0500 |
commit | dc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (patch) | |
tree | 3ac043c6520ea3a18987ec97792510f5906af74b /hw/dmx | |
parent | 8c9909a99292b2fb4a86de694bb0029f61e35662 (diff) |
dispatch: Mark swapped dispatch as _X_COLD
This touches everything that ends up in the Xorg binary; the big missing
part is GLX since that's all generated code. Cuts about 14k from the
binary on amd64.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/dmx.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c index 9729963da..6c3614276 100644 --- a/hw/dmx/dmx.c +++ b/hw/dmx/dmx.c @@ -969,7 +969,7 @@ ProcDMXDispatch(ClientPtr client) } } -static int +static int _X_COLD SProcDMXQueryVersion(ClientPtr client) { REQUEST(xDMXQueryVersionReq); @@ -979,7 +979,7 @@ SProcDMXQueryVersion(ClientPtr client) return ProcDMXQueryVersion(client); } -static int +static int _X_COLD SProcDMXSync(ClientPtr client) { REQUEST(xDMXSyncReq); @@ -989,7 +989,7 @@ SProcDMXSync(ClientPtr client) return ProcDMXSync(client); } -static int +static int _X_COLD SProcDMXForceWindowCreation(ClientPtr client) { REQUEST(xDMXForceWindowCreationReq); @@ -1000,7 +1000,7 @@ SProcDMXForceWindowCreation(ClientPtr client) return ProcDMXForceWindowCreation(client); } -static int +static int _X_COLD SProcDMXGetScreenCount(ClientPtr client) { REQUEST(xDMXGetScreenCountReq); @@ -1010,7 +1010,7 @@ SProcDMXGetScreenCount(ClientPtr client) return ProcDMXGetScreenCount(client); } -static int +static int _X_COLD SProcDMXGetScreenAttributes(ClientPtr client) { REQUEST(xDMXGetScreenAttributesReq); @@ -1021,7 +1021,7 @@ SProcDMXGetScreenAttributes(ClientPtr client) return ProcDMXGetScreenAttributes(client); } -static int +static int _X_COLD SProcDMXChangeScreensAttributes(ClientPtr client) { REQUEST(xDMXChangeScreensAttributesReq); @@ -1034,7 +1034,7 @@ SProcDMXChangeScreensAttributes(ClientPtr client) return ProcDMXGetScreenAttributes(client); } -static int +static int _X_COLD SProcDMXAddScreen(ClientPtr client) { int paddedLength; @@ -1050,7 +1050,7 @@ SProcDMXAddScreen(ClientPtr client) return ProcDMXAddScreen(client); } -static int +static int _X_COLD SProcDMXRemoveScreen(ClientPtr client) { REQUEST(xDMXRemoveScreenReq); @@ -1061,7 +1061,7 @@ SProcDMXRemoveScreen(ClientPtr client) return ProcDMXRemoveScreen(client); } -static int +static int _X_COLD SProcDMXGetWindowAttributes(ClientPtr client) { REQUEST(xDMXGetWindowAttributesReq); @@ -1072,7 +1072,7 @@ SProcDMXGetWindowAttributes(ClientPtr client) return ProcDMXGetWindowAttributes(client); } -static int +static int _X_COLD SProcDMXGetDesktopAttributes(ClientPtr client) { REQUEST(xDMXGetDesktopAttributesReq); @@ -1082,7 +1082,7 @@ SProcDMXGetDesktopAttributes(ClientPtr client) return ProcDMXGetDesktopAttributes(client); } -static int +static int _X_COLD SProcDMXChangeDesktopAttributes(ClientPtr client) { REQUEST(xDMXChangeDesktopAttributesReq); @@ -1094,7 +1094,7 @@ SProcDMXChangeDesktopAttributes(ClientPtr client) return ProcDMXChangeDesktopAttributes(client); } -static int +static int _X_COLD SProcDMXGetInputCount(ClientPtr client) { REQUEST(xDMXGetInputCountReq); @@ -1104,7 +1104,7 @@ SProcDMXGetInputCount(ClientPtr client) return ProcDMXGetInputCount(client); } -static int +static int _X_COLD SProcDMXGetInputAttributes(ClientPtr client) { REQUEST(xDMXGetInputAttributesReq); @@ -1115,7 +1115,7 @@ SProcDMXGetInputAttributes(ClientPtr client) return ProcDMXGetInputAttributes(client); } -static int +static int _X_COLD SProcDMXAddInput(ClientPtr client) { int paddedLength; @@ -1131,7 +1131,7 @@ SProcDMXAddInput(ClientPtr client) return ProcDMXAddInput(client); } -static int +static int _X_COLD SProcDMXRemoveInput(ClientPtr client) { REQUEST(xDMXRemoveInputReq); @@ -1142,7 +1142,7 @@ SProcDMXRemoveInput(ClientPtr client) return ProcDMXRemoveInput(client); } -static int +static int _X_COLD SProcDMXDispatch(ClientPtr client) { REQUEST(xReq); |