[PATCH 2/8] randr: Unexport some implementation details

Aaron Plattner aplattner at nvidia.com
Mon Jun 8 17:53:26 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/02/2015 11:15 AM, Adam Jackson wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com> --- randr/randrstr.h
> | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/randr/randrstr.h b/randr/randrstr.h index
> 03974fd..58f3ff4 100644 --- a/randr/randrstr.h +++
> b/randr/randrstr.h @@ -64,10 +64,10 @@ typedef XID RROutput; 
> typedef XID RRCrtc; typedef XID RRProvider;
> 
> -extern _X_EXPORT int RREventBase, RRErrorBase; +extern int
> RREventBase, RRErrorBase;
> 
> -extern _X_EXPORT int (*ProcRandrVector[RRNumberRequests])
> (ClientPtr); -extern _X_EXPORT int
> (*SProcRandrVector[RRNumberRequests]) (ClientPtr); +extern int
> (*ProcRandrVector[RRNumberRequests]) (ClientPtr); +extern int
> (*SProcRandrVector[RRNumberRequests]) (ClientPtr);
> 
> /* * Modeline for a monitor. Name follows directly after this
> struct @@ -397,11 +397,11 @@ typedef struct _RRClient { /*
> RRTimesRec	times[0]; */ } RRClientRec, *RRClientPtr;
> 
> -extern _X_EXPORT RESTYPE RRClientType, RREventType;     /*
> resource types for event masks */ -extern _X_EXPORT
> DevPrivateKeyRec RRClientPrivateKeyRec; +extern RESTYPE
> RRClientType, RREventType;     /* resource types for event masks
> */ +extern DevPrivateKeyRec RRClientPrivateKeyRec;
> 
> #define RRClientPrivateKey (&RRClientPrivateKeyRec) -extern
> _X_EXPORT RESTYPE RRCrtcType, RRModeType, RROutputType,
> RRProviderType; +extern RESTYPE RRCrtcType, RRModeType,
> RROutputType, RRProviderType;

We need RRCrtcType, RRModeType, and RROutputType so we can look those
things up in one of the aforementioned protocol wrappers.

> #define VERIFY_RR_OUTPUT(id, ptr, a)\ {\
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVdjkDAAoJEBvvPYQBpohhbhIP/1jULb5eTUfdFqusSxwPQ8Cb
BT43+WsvB2GQCyMd6b+heXYz41vq+o62wboOxil2jyXTNWt8MlwlwJ5VGJVT3Tas
P2/k0QcikTLVikQLkORVQgxoqlEda09YqhBDBkyvANJh6b0POZg095+LwMphHleO
tsag+4v89uF4ysECcaAIw5OLu/u/pFMpKkHTQsUo82Cr1J1V6ikmyu97Hq4UlOj8
MYfA/sC6XTFVb0GeVWstok7LIXYmiXJFoAaddhHsojbK4ZXzEitdNSKvxiHmdAik
tq4plj+ubiodShX2sDCXfa078Cb62BR9c/BPLrdGv/K0+SPJp90+JWc5IxyynFV5
a14pt6s2lf/XZIiE821LMWY8a4HSwTehgXpjtH7x5NlpLCyU4hmiBdbo1D7meRAf
GoRc/iLNXnhrE/QnR6Kdd7aLCU86cwuPsLgKXkU6fVBmE6T6wvZaRX+ityCBFHe3
iVXwlWButjyKXtfulr7IUNwKC4fS9P1f2pKklUp5P8Wm2vOj52BlZP0Ps1q8HdIr
L1xdkgUVKYuJESthh65DsdFLfddZZYRBvS/uLKM1eIXxyCd9plucliEE5lgO+SO/
QKhyoxv9VwIuLQuv5/CDB5w0p4qto4LCcfqFoqRe25WoBHNB4vvrnFjL2Fl77IdA
7mB/ZrmXfKCbQ6S69GUE
=G8dd
-----END PGP SIGNATURE-----


More information about the xorg-devel mailing list