dix: Repack ClientRec
sizeof(ClientRec) ILP32 LP64 before 120 184 after 104 136 Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									d5f724544a
								
							
						
					
					
						commit
						f702372822
					
				| 
						 | 
					@ -90,23 +90,22 @@ typedef struct _Client {
 | 
				
			||||||
    Mask        clientAsMask;
 | 
					    Mask        clientAsMask;
 | 
				
			||||||
    pointer     requestBuffer;
 | 
					    pointer     requestBuffer;
 | 
				
			||||||
    pointer     osPrivate;	/* for OS layer, including scheduler */
 | 
					    pointer     osPrivate;	/* for OS layer, including scheduler */
 | 
				
			||||||
    Bool        swapped;
 | 
					    char        swapped;
 | 
				
			||||||
 | 
					    char        big_requests;
 | 
				
			||||||
 | 
					    char        closeDownMode;
 | 
				
			||||||
 | 
					    char        clientGone;
 | 
				
			||||||
 | 
					    char        noClientException;	/* this client died or needs to be
 | 
				
			||||||
 | 
										 * killed */
 | 
				
			||||||
 | 
					    char	clientState;
 | 
				
			||||||
    ReplySwapPtr pSwapReplyFunc;
 | 
					    ReplySwapPtr pSwapReplyFunc;
 | 
				
			||||||
    XID         errorValue;
 | 
					    XID         errorValue;
 | 
				
			||||||
    int         sequence;
 | 
					    int         sequence;
 | 
				
			||||||
    int         closeDownMode;
 | 
					 | 
				
			||||||
    int         clientGone;
 | 
					 | 
				
			||||||
    int         noClientException;	/* this client died or needs to be
 | 
					 | 
				
			||||||
					 * killed */
 | 
					 | 
				
			||||||
    int         ignoreCount;		/* count for Attend/IgnoreClient */
 | 
					    int         ignoreCount;		/* count for Attend/IgnoreClient */
 | 
				
			||||||
    SaveSetElt	*saveSet;
 | 
					 | 
				
			||||||
    int         numSaved;
 | 
					    int         numSaved;
 | 
				
			||||||
    int         (**requestVector) (
 | 
					    SaveSetElt	*saveSet;
 | 
				
			||||||
		ClientPtr /* pClient */);
 | 
					    int         (**requestVector) (ClientPtr /* pClient */);
 | 
				
			||||||
    CARD32	req_len;		/* length of current request */
 | 
					    CARD32	req_len;		/* length of current request */
 | 
				
			||||||
    Bool	big_requests;		/* supports large requests */
 | 
					 | 
				
			||||||
    int		priority;
 | 
					    int		priority;
 | 
				
			||||||
    ClientState clientState;
 | 
					 | 
				
			||||||
    PrivateRec	*devPrivates;
 | 
					    PrivateRec	*devPrivates;
 | 
				
			||||||
    unsigned short	xkbClientFlags;
 | 
					    unsigned short	xkbClientFlags;
 | 
				
			||||||
    unsigned short	mapNotifyMask;
 | 
					    unsigned short	mapNotifyMask;
 | 
				
			||||||
| 
						 | 
					@ -114,11 +113,11 @@ typedef struct _Client {
 | 
				
			||||||
    unsigned short	vMajor,vMinor;
 | 
					    unsigned short	vMajor,vMinor;
 | 
				
			||||||
    KeyCode		minKC,maxKC;
 | 
					    KeyCode		minKC,maxKC;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    unsigned long replyBytesRemaining;
 | 
					    unsigned int replyBytesRemaining;
 | 
				
			||||||
    int	    smart_priority;
 | 
					    int	    smart_priority;
 | 
				
			||||||
    long    smart_start_tick;
 | 
					    int     smart_start_tick;
 | 
				
			||||||
    long    smart_stop_tick;
 | 
					    int     smart_stop_tick;
 | 
				
			||||||
    long    smart_check_tick;
 | 
					    int     smart_check_tick;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    DeviceIntPtr clientPtr;
 | 
					    DeviceIntPtr clientPtr;
 | 
				
			||||||
    ClientIdPtr  clientIds;
 | 
					    ClientIdPtr  clientIds;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue