dix: move Entry (struct _CMEntry) declaration out of public header
Not used by any external module/driver, so no need to keep it in public header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									adc27c5220
								
							
						
					
					
						commit
						52cf7135f2
					
				| 
						 | 
					@ -20,7 +20,15 @@
 | 
				
			||||||
#define CM_AllAllocated 2
 | 
					#define CM_AllAllocated 2
 | 
				
			||||||
#define CM_BeingCreated 4
 | 
					#define CM_BeingCreated 4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct _CMEntry *EntryPtr;
 | 
					/* color map entry */
 | 
				
			||||||
 | 
					typedef struct _CMEntry {
 | 
				
			||||||
 | 
					    union {
 | 
				
			||||||
 | 
					        LOCO local;
 | 
				
			||||||
 | 
					        SHCO shco;
 | 
				
			||||||
 | 
					    } co;
 | 
				
			||||||
 | 
					    short refcnt;
 | 
				
			||||||
 | 
					    Bool fShared;
 | 
				
			||||||
 | 
					} Entry, *EntryPtr;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* COLORMAPs can be used for either Direct or Pseudo color.  PseudoColor
 | 
					/* COLORMAPs can be used for either Direct or Pseudo color.  PseudoColor
 | 
				
			||||||
 * only needs one cell table, we arbitrarily pick red.  We keep track
 | 
					 * only needs one cell table, we arbitrarily pick red.  We keep track
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,14 +70,4 @@ typedef struct {
 | 
				
			||||||
    SHAREDCOLOR *red, *green, *blue;
 | 
					    SHAREDCOLOR *red, *green, *blue;
 | 
				
			||||||
} SHCO;
 | 
					} SHCO;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* color map entry */
 | 
					 | 
				
			||||||
typedef struct _CMEntry {
 | 
					 | 
				
			||||||
    union {
 | 
					 | 
				
			||||||
        LOCO local;
 | 
					 | 
				
			||||||
        SHCO shco;
 | 
					 | 
				
			||||||
    } co;
 | 
					 | 
				
			||||||
    short refcnt;
 | 
					 | 
				
			||||||
    Bool fShared;
 | 
					 | 
				
			||||||
} Entry;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#endif                          /* COLORMAP_H */
 | 
					#endif                          /* COLORMAP_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue