diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-02-18 22:35:19 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:57:21 +0200 |
commit | 0d9d21287cd3a7db7695efdb4ff85c53234536f2 (patch) | |
tree | b5d266796673c7e9e653f833e9276eb97b34badc /nx-X11/programs/Xserver/hw/nxagent/Client.h | |
parent | 7921cf79fe2fc1c193bf0726bbc4818a94da3e20 (diff) | |
download | nx-libs-0d9d21287cd3a7db7695efdb4ff85c53234536f2.tar.gz nx-libs-0d9d21287cd3a7db7695efdb4ff85c53234536f2.tar.bz2 nx-libs-0d9d21287cd3a7db7695efdb4ff85c53234536f2.zip |
Client.c: mask unused clientBytes stuff
The only place where this was referenced outside Client.c was a
commented section in Handlers.c. For now lets mask all that by an
(unset) define.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Client.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Client.h b/nx-X11/programs/Xserver/hw/nxagent/Client.h index 8f4f503ba..094e45257 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Client.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Client.h @@ -59,11 +59,15 @@ extern int nxagentClientPrivateIndex; void nxagentInitClientPrivates(ClientPtr); +#undef COUNT_CLIENT_BYTES + +#ifdef COUNT_CLIENT_BYTES #define nxagentClientAddBytes(pClient, size) \ (nxagentClientPriv(pClient) -> clientBytes += (size)) #define nxagentClientBytes(pClient) \ (nxagentClientPriv(pClient) -> clientBytes) +#endif #define nxagentClientHint(pClient) \ (nxagentClientPriv(pClient) -> clientHint) |