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 /Xext/xselinux_ext.c | |
parent | 8c9909a99292b2fb4a86de694bb0029f61e35662 (diff) | |
download | xserver-dc7ceda90fdedb2212f105095fe8d449bfdb0eb4.tar.gz |
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 'Xext/xselinux_ext.c')
-rw-r--r-- | Xext/xselinux_ext.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Xext/xselinux_ext.c b/Xext/xselinux_ext.c index fb7b2d526..6325634be 100644 --- a/Xext/xselinux_ext.c +++ b/Xext/xselinux_ext.c @@ -528,13 +528,13 @@ ProcSELinuxDispatch(ClientPtr client) } } -static int +static int _X_COLD SProcSELinuxQueryVersion(ClientPtr client) { return ProcSELinuxQueryVersion(client); } -static int +static int _X_COLD SProcSELinuxSetCreateContext(ClientPtr client, unsigned offset) { REQUEST(SELinuxSetCreateContextReq); @@ -544,7 +544,7 @@ SProcSELinuxSetCreateContext(ClientPtr client, unsigned offset) return ProcSELinuxSetCreateContext(client, offset); } -static int +static int _X_COLD SProcSELinuxSetDeviceContext(ClientPtr client) { REQUEST(SELinuxSetContextReq); @@ -555,7 +555,7 @@ SProcSELinuxSetDeviceContext(ClientPtr client) return ProcSELinuxSetDeviceContext(client); } -static int +static int _X_COLD SProcSELinuxGetDeviceContext(ClientPtr client) { REQUEST(SELinuxGetContextReq); @@ -565,7 +565,7 @@ SProcSELinuxGetDeviceContext(ClientPtr client) return ProcSELinuxGetDeviceContext(client); } -static int +static int _X_COLD SProcSELinuxGetDrawableContext(ClientPtr client) { REQUEST(SELinuxGetContextReq); @@ -575,7 +575,7 @@ SProcSELinuxGetDrawableContext(ClientPtr client) return ProcSELinuxGetDrawableContext(client); } -static int +static int _X_COLD SProcSELinuxGetPropertyContext(ClientPtr client, void *privKey) { REQUEST(SELinuxGetPropertyContextReq); @@ -586,7 +586,7 @@ SProcSELinuxGetPropertyContext(ClientPtr client, void *privKey) return ProcSELinuxGetPropertyContext(client, privKey); } -static int +static int _X_COLD SProcSELinuxGetSelectionContext(ClientPtr client, void *privKey) { REQUEST(SELinuxGetContextReq); @@ -596,7 +596,7 @@ SProcSELinuxGetSelectionContext(ClientPtr client, void *privKey) return ProcSELinuxGetSelectionContext(client, privKey); } -static int +static int _X_COLD SProcSELinuxListProperties(ClientPtr client) { REQUEST(SELinuxGetContextReq); @@ -606,7 +606,7 @@ SProcSELinuxListProperties(ClientPtr client) return ProcSELinuxListProperties(client); } -static int +static int _X_COLD SProcSELinuxGetClientContext(ClientPtr client) { REQUEST(SELinuxGetContextReq); @@ -616,7 +616,7 @@ SProcSELinuxGetClientContext(ClientPtr client) return ProcSELinuxGetClientContext(client); } -static int +static int _X_COLD SProcSELinuxDispatch(ClientPtr client) { REQUEST(xReq); |