diff options
author | Adam Jackson <ajax@redhat.com> | 2014-07-08 14:18:07 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-08 16:40:58 -0400 |
commit | 49d7bae7f4c6a93f92df828440e3478513f930f4 (patch) | |
tree | dd40e557c6cfdfa7a9db39c62950df439ca18e79 /Xext | |
parent | 2377690709de11087edc9d1116c9feaeb8f118ed (diff) |
xge: Hide some implementation details
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/geext.c | 10 | ||||
-rw-r--r-- | Xext/geint.h | 5 |
2 files changed, 7 insertions, 8 deletions
diff --git a/Xext/geext.c b/Xext/geext.c index aee68c41d..6285f69f7 100644 --- a/Xext/geext.c +++ b/Xext/geext.c @@ -90,9 +90,10 @@ ProcGEQueryVersion(ClientPtr client) return Success; } -int (*ProcGEVector[GENumberRequests]) (ClientPtr) = { +static int (*ProcGEVector[GENumberRequests]) (ClientPtr) = { /* Version 1.0 */ -ProcGEQueryVersion}; + ProcGEQueryVersion, +}; /************************************************************/ /* swapped request handlers */ @@ -109,9 +110,10 @@ SProcGEQueryVersion(ClientPtr client) return (*ProcGEVector[stuff->ReqType]) (client); } -int (*SProcGEVector[GENumberRequests]) (ClientPtr) = { +static int (*SProcGEVector[GENumberRequests]) (ClientPtr) = { /* Version 1.0 */ -SProcGEQueryVersion}; + SProcGEQueryVersion +}; /************************************************************/ /* callbacks */ diff --git a/Xext/geint.h b/Xext/geint.h index f76d14809..0ee28e471 100644 --- a/Xext/geint.h +++ b/Xext/geint.h @@ -37,7 +37,7 @@ #include "extnsionst.h" #include <X11/extensions/geproto.h> -extern _X_EXPORT DevPrivateKeyRec GEClientPrivateKeyRec; +extern DevPrivateKeyRec GEClientPrivateKeyRec; #define GEClientPrivateKey (&GEClientPrivateKeyRec) @@ -48,7 +48,4 @@ typedef struct _GEClientInfo { #define GEGetClient(pClient) ((GEClientInfoPtr)(dixLookupPrivate(&((pClient)->devPrivates), GEClientPrivateKey))) -extern _X_EXPORT int (*ProcGEVector[ /*GENumRequests */ ]) (ClientPtr); -extern _X_EXPORT int (*SProcGEVector[ /*GENumRequests */ ]) (ClientPtr); - #endif /* _GEINT_H_ */ |