fb: unexport fbInitializeDrawable() and make it static
Only used inside fbpixmap.c (where it's defined), so can be static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									31548e3705
								
							
						
					
					
						commit
						97e82b3812
					
				
							
								
								
									
										3
									
								
								fb/fb.h
								
								
								
								
							
							
						
						
									
										3
									
								
								fb/fb.h
								
								
								
								
							| 
						 | 
					@ -110,13 +110,10 @@ typedef FbBits FbStip;
 | 
				
			||||||
typedef int FbStride;
 | 
					typedef int FbStride;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef FB_DEBUG
 | 
					#ifdef FB_DEBUG
 | 
				
			||||||
extern _X_EXPORT void fbInitializeDrawable(DrawablePtr d);
 | 
					 | 
				
			||||||
extern _X_EXPORT void fbSetBits(FbStip * bits, int stride, FbStip data);
 | 
					extern _X_EXPORT void fbSetBits(FbStip * bits, int stride, FbStip data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FB_HEAD_BITS   (FbStip) (0xbaadf00d)
 | 
					#define FB_HEAD_BITS   (FbStip) (0xbaadf00d)
 | 
				
			||||||
#define FB_TAIL_BITS   (FbStip) (0xbaddf0ad)
 | 
					#define FB_TAIL_BITS   (FbStip) (0xbaddf0ad)
 | 
				
			||||||
#else
 | 
					 | 
				
			||||||
#define fdInitializeDrawable(d)
 | 
					 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fbrop.h"
 | 
					#include "fbrop.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,6 +26,12 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "fb/fb_priv.h"
 | 
					#include "fb/fb_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef FB_DEBUG
 | 
				
			||||||
 | 
					static void fbInitializeDrawable(DrawablePtr pDrawable);
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					static inline void fbInitializeDrawable(DrawablePtr pDrawable) {}
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PixmapPtr
 | 
					PixmapPtr
 | 
				
			||||||
fbCreatePixmap(ScreenPtr pScreen, int width, int height, int depth,
 | 
					fbCreatePixmap(ScreenPtr pScreen, int width, int height, int depth,
 | 
				
			||||||
               unsigned usage_hint)
 | 
					               unsigned usage_hint)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue