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;
|
||||
|
||||
#ifdef FB_DEBUG
|
||||
extern _X_EXPORT void fbInitializeDrawable(DrawablePtr d);
|
||||
extern _X_EXPORT void fbSetBits(FbStip * bits, int stride, FbStip data);
|
||||
|
||||
#define FB_HEAD_BITS (FbStip) (0xbaadf00d)
|
||||
#define FB_TAIL_BITS (FbStip) (0xbaddf0ad)
|
||||
#else
|
||||
#define fdInitializeDrawable(d)
|
||||
#endif
|
||||
|
||||
#include "fbrop.h"
|
||||
|
|
|
@ -26,6 +26,12 @@
|
|||
|
||||
#include "fb/fb_priv.h"
|
||||
|
||||
#ifdef FB_DEBUG
|
||||
static void fbInitializeDrawable(DrawablePtr pDrawable);
|
||||
#else
|
||||
static inline void fbInitializeDrawable(DrawablePtr pDrawable) {}
|
||||
#endif
|
||||
|
||||
PixmapPtr
|
||||
fbCreatePixmap(ScreenPtr pScreen, int width, int height, int depth,
|
||||
unsigned usage_hint)
|
||||
|
|
Loading…
Reference in New Issue