Skip to content

Commit 40f0a42

Browse files
committed
include: regionstr.h: drop unused legacy macros
Those aren't used by any drivers anymore (and shouldn't be). Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
1 parent 0ec0f00 commit 40f0a42

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

include/regionstr.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -343,36 +343,22 @@ extern _X_EXPORT void RegionPrint(RegionPtr /*pReg */ );
343343
#ifdef INCLUDE_LEGACY_REGION_DEFINES
344344

345345
#define REGION_NIL RegionNil
346-
#define REGION_NAR RegionNar
347346
#define REGION_NUM_RECTS RegionNumRects
348-
#define REGION_SIZE RegionSize
349347
#define REGION_RECTS RegionRects
350-
#define REGION_BOXPTR RegionBoxptr
351-
#define REGION_BOX RegionBox
352-
#define REGION_TOP RegionTop
353-
#define REGION_END RegionEnd
354-
#define REGION_SZOF RegionSizeof
355-
#define BITMAP_TO_REGION BitmapToRegion
356348
#define REGION_CREATE(pScreen, r, s) RegionCreate(r,s)
357349
#define REGION_COPY(pScreen, d, r) RegionCopy(d, r)
358350
#define REGION_DESTROY(pScreen, r) RegionDestroy(r)
359351
#define REGION_INTERSECT(pScreen, res, r1, r2) RegionIntersect(res, r1, r2)
360352
#define REGION_UNION(pScreen, res, r1, r2) RegionUnion(res, r1, r2)
361353
#define REGION_SUBTRACT(pScreen, res, r1, r2) RegionSubtract(res, r1, r2)
362-
#define REGION_INVERSE(pScreen, n, r, b) RegionInverse(n, r, b)
363354
#define REGION_TRANSLATE(pScreen, r, x, y) RegionTranslate(r, x, y)
364355
#define RECT_IN_REGION(pScreen, r, b) RegionContainsRect(r, b)
365-
#define POINT_IN_REGION(pScreen, r, x, y, b) RegionContainsPoint(r, x, y, b)
366356
#define REGION_EQUAL(pScreen, r1, r2) RegionEqual(r1, r2)
367-
#define REGION_APPEND(pScreen, d, r) RegionAppend(d, r)
368-
#define REGION_VALIDATE(pScreen, r, o) RegionValidate(r, o)
369357
#define RECTS_TO_REGION(pScreen, n, r, c) RegionFromRects(n, r, c)
370-
#define REGION_BREAK(pScreen, r) RegionBreak(r)
371358
#define REGION_INIT(pScreen, r, b, s) RegionInit(r, b, s)
372359
#define REGION_UNINIT(pScreen, r) RegionUninit(r)
373360
#define REGION_RESET(pScreen, r, b) RegionReset(r, b)
374361
#define REGION_NOTEMPTY(pScreen, r) RegionNotEmpty(r)
375-
#define REGION_BROKEN(pScreen, r) RegionBroken(r)
376362
#define REGION_EMPTY(pScreen, r) RegionEmpty(r)
377363
#define REGION_EXTENTS(pScreen, r) RegionExtents(r)
378364
#define REGION_NULL(pScreen, r) RegionNull(r)

0 commit comments

Comments
 (0)