xge: Hide some implementation details
Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									2377690709
								
							
						
					
					
						commit
						49d7bae7f4
					
				
							
								
								
									
										10
									
								
								Xext/geext.c
								
								
								
								
							
							
						
						
									
										10
									
								
								Xext/geext.c
								
								
								
								
							|  | @ -90,9 +90,10 @@ ProcGEQueryVersion(ClientPtr client) | ||||||
|     return Success; |     return Success; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int (*ProcGEVector[GENumberRequests]) (ClientPtr) = { | static int (*ProcGEVector[GENumberRequests]) (ClientPtr) = { | ||||||
|     /* Version 1.0 */ |     /* Version 1.0 */ | ||||||
| ProcGEQueryVersion}; |     ProcGEQueryVersion, | ||||||
|  | }; | ||||||
| 
 | 
 | ||||||
| /************************************************************/ | /************************************************************/ | ||||||
| /*                swapped request handlers                  */ | /*                swapped request handlers                  */ | ||||||
|  | @ -109,9 +110,10 @@ SProcGEQueryVersion(ClientPtr client) | ||||||
|     return (*ProcGEVector[stuff->ReqType]) (client); |     return (*ProcGEVector[stuff->ReqType]) (client); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int (*SProcGEVector[GENumberRequests]) (ClientPtr) = { | static int (*SProcGEVector[GENumberRequests]) (ClientPtr) = { | ||||||
|     /* Version 1.0 */ |     /* Version 1.0 */ | ||||||
| SProcGEQueryVersion}; |     SProcGEQueryVersion | ||||||
|  | }; | ||||||
| 
 | 
 | ||||||
| /************************************************************/ | /************************************************************/ | ||||||
| /*                callbacks                                 */ | /*                callbacks                                 */ | ||||||
|  |  | ||||||
|  | @ -37,7 +37,7 @@ | ||||||
| #include "extnsionst.h" | #include "extnsionst.h" | ||||||
| #include <X11/extensions/geproto.h> | #include <X11/extensions/geproto.h> | ||||||
| 
 | 
 | ||||||
| extern _X_EXPORT DevPrivateKeyRec GEClientPrivateKeyRec; | extern DevPrivateKeyRec GEClientPrivateKeyRec; | ||||||
| 
 | 
 | ||||||
| #define GEClientPrivateKey (&GEClientPrivateKeyRec) | #define GEClientPrivateKey (&GEClientPrivateKeyRec) | ||||||
| 
 | 
 | ||||||
|  | @ -48,7 +48,4 @@ typedef struct _GEClientInfo { | ||||||
| 
 | 
 | ||||||
| #define GEGetClient(pClient)    ((GEClientInfoPtr)(dixLookupPrivate(&((pClient)->devPrivates), GEClientPrivateKey))) | #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_ */ | #endif                          /* _GEINT_H_ */ | ||||||
|  |  | ||||||
|  | @ -54,7 +54,6 @@ cat > sdksyms.c << EOF | ||||||
| #include "xvmcext.h" | #include "xvmcext.h" | ||||||
| #endif | #endif | ||||||
| #include "geext.h" | #include "geext.h" | ||||||
| #include "geint.h" |  | ||||||
| #ifdef MITSHM | #ifdef MITSHM | ||||||
| #include "shmint.h" | #include "shmint.h" | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue