fb: unexport fbGetGCPrivate() macro
Not used by drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									05ffb3ec67
								
							
						
					
					
						commit
						3e21e96ae4
					
				
							
								
								
									
										5
									
								
								fb/fb.h
								
								
								
								
							
							
						
						
									
										5
									
								
								fb/fb.h
								
								
								
								
							| 
						 | 
					@ -272,11 +272,6 @@ typedef struct {
 | 
				
			||||||
    unsigned int dashLength;    /* total of all dash elements */
 | 
					    unsigned int dashLength;    /* total of all dash elements */
 | 
				
			||||||
} FbGCPrivRec, *FbGCPrivPtr;
 | 
					} FbGCPrivRec, *FbGCPrivPtr;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define fbGetGCPrivateKey(pGC)  (&fbGetScreenPrivate((pGC)->pScreen)->gcPrivateKeyRec)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define fbGetGCPrivate(pGC)	((FbGCPrivPtr)\
 | 
					 | 
				
			||||||
				 dixLookupPrivate(&(pGC)->devPrivates, fbGetGCPrivateKey(pGC)))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define fbGetCompositeClip(pGC) ((pGC)->pCompositeClip)
 | 
					#define fbGetCompositeClip(pGC) ((pGC)->pCompositeClip)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define fbGetScreenPixmap(s)	((PixmapPtr) (s)->devPrivate)
 | 
					#define fbGetScreenPixmap(s)	((PixmapPtr) (s)->devPrivate)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,6 +12,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FbBitsStrideToStipStride(s) (((s) << (FB_SHIFT - FB_STIP_SHIFT)))
 | 
					#define FbBitsStrideToStipStride(s) (((s) << (FB_SHIFT - FB_STIP_SHIFT)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define fbGetGCPrivateKey(pGC) (&fbGetScreenPrivate((pGC)->pScreen)->gcPrivateKeyRec)
 | 
				
			||||||
 | 
					#define fbGetGCPrivate(pGC) ((FbGCPrivPtr)dixLookupPrivate(&(pGC)->devPrivates, fbGetGCPrivateKey(pGC)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef FB_DEBUG
 | 
					#ifdef FB_DEBUG
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FB_HEAD_BITS   (FbStip) (0xbaadf00d)
 | 
					#define FB_HEAD_BITS   (FbStip) (0xbaadf00d)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <dix-config.h>
 | 
					#include <dix-config.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "mizerarc.h"
 | 
					#include "mizerarc.h"
 | 
				
			||||||
#include <limits.h>
 | 
					#include <limits.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,7 +31,7 @@
 | 
				
			||||||
#include <dix-config.h>
 | 
					#include <dix-config.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb/fb.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define __FbMaskBits(x,w,l,n,r) { \
 | 
					#define __FbMaskBits(x,w,l,n,r) { \
 | 
				
			||||||
    n = (w); \
 | 
					    n = (w); \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
fbCopyNtoN(DrawablePtr pSrcDrawable,
 | 
					fbCopyNtoN(DrawablePtr pSrcDrawable,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const GCFuncs fbGCFuncs = {
 | 
					static const GCFuncs fbGCFuncs = {
 | 
				
			||||||
    fbValidateGC,
 | 
					    fbValidateGC,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,9 +23,10 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <dix-config.h>
 | 
					#include <dix-config.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb.h"
 | 
					#include <X11/fonts/fontstruct.h>
 | 
				
			||||||
#include	<X11/fonts/fontstruct.h>
 | 
					
 | 
				
			||||||
#include	"dixfontstr.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
 | 
					#include "include/dixfontstr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static Bool
 | 
					static Bool
 | 
				
			||||||
fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height)
 | 
					fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb/fb.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
#include "fb/fbbits.h"
 | 
					#include "fb/fbbits.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "miline.h"
 | 
					#include "miline.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue