fb: drop commented-out FbLeftBits and FbLeftBits macros
Not used anywhere, so can be dropped. They always have been commented-out
since added over two decades ago.
See: 9508a382f8
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
c3fe57f095
commit
badafca022
2
fb/fb.h
2
fb/fb.h
|
@ -126,14 +126,12 @@ extern _X_EXPORT void fbSetBits(FbStip * bits, int stride, FbStip data);
|
|||
#if BITMAP_BIT_ORDER == LSBFirst
|
||||
#define FbScrLeft(x,n) ((x) >> (n))
|
||||
#define FbScrRight(x,n) ((x) << (n))
|
||||
/* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
|
||||
#define FbLeftStipBits(x,n) ((x) & ((((FbStip) 1) << (n)) - 1))
|
||||
#define FbStipMoveLsb(x,s,n) (FbStipRight (x,(s)-(n)))
|
||||
#define FbPatternOffsetBits 0
|
||||
#else
|
||||
#define FbScrLeft(x,n) ((x) << (n))
|
||||
#define FbScrRight(x,n) ((x) >> (n))
|
||||
/* #define FbLeftBits(x,n) ((x) >> (FB_UNIT - (n))) */
|
||||
#define FbLeftStipBits(x,n) ((x) >> (FB_STIP_UNIT - (n)))
|
||||
#define FbStipMoveLsb(x,s,n) (x)
|
||||
#define FbPatternOffsetBits (sizeof (FbBits) - 1)
|
||||
|
|
Loading…
Reference in New Issue