From e1e8ab3ddfd8f965ada381505480842da49fa35d Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 22 Apr 2024 18:46:09 +0200 Subject: [PATCH] mi: miline.h: drop DEFAULTZEROLINEBIAS from public header This define in only used locally, in exactly one source file, thus no neeed to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- mi/miline.h | 2 -- mi/miscrinit.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mi/miline.h b/mi/miline.h index 5e70e73e1..7ef3b015a 100644 --- a/mi/miline.h +++ b/mi/miline.h @@ -49,8 +49,6 @@ in this Software without prior written authorization from The Open Group. #define OCTANT7 (1 << (YMAJOR)) #define OCTANT8 (1 << (0)) -#define DEFAULTZEROLINEBIAS (OCTANT2 | OCTANT3 | OCTANT4 | OCTANT5) - /* * Devices can configure the rendering of routines in mi, mfb, and cfb* * by specifying a thin line bias to be applied to a particular screen diff --git a/mi/miscrinit.c b/mi/miscrinit.c index 76a3c5a96..cf67baab0 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -59,6 +59,8 @@ typedef struct { int ysize; } miScreenInitParmsRec, *miScreenInitParmsPtr; +#define DEFAULTZEROLINEBIAS (OCTANT2 | OCTANT3 | OCTANT4 | OCTANT5) + /* this plugs into pScreen->ModifyPixmapHeader */ Bool miModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth,