From 28b7b2b8d02d975480080865f0dddebcaa2f7968 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 19 Apr 2010 09:26:10 -0700 Subject: unifdef -B -DRENDER to always include RENDER code This patch was created with: git ls-files '*.[ch]' | while read f; do unifdef -B -DRENDER -o $f $f; done Signed-off-by: Keith Packard --- xfixes/region.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xfixes') diff --git a/xfixes/region.c b/xfixes/region.c index 1b4accb3e..795caf013 100644 --- a/xfixes/region.c +++ b/xfixes/region.c @@ -26,10 +26,8 @@ #include "xfixesint.h" #include "scrnintstr.h" -#ifdef RENDER #include extern int RenderErrBase; -#endif #include #include #include @@ -265,7 +263,6 @@ SProcXFixesCreateRegionFromGC (ClientPtr client) int ProcXFixesCreateRegionFromPicture (ClientPtr client) { -#ifdef RENDER RegionPtr pRegion; PicturePtr pPicture; REQUEST (xXFixesCreateRegionFromPictureReq); @@ -296,9 +293,6 @@ ProcXFixesCreateRegionFromPicture (ClientPtr client) return BadAlloc; return(client->noClientException); -#else - return BadRequest; -#endif } int @@ -769,7 +763,6 @@ SProcXFixesSetWindowShapeRegion (ClientPtr client) int ProcXFixesSetPictureClipRegion (ClientPtr client) { -#ifdef RENDER PicturePtr pPicture; RegionPtr pRegion; ScreenPtr pScreen; @@ -785,9 +778,6 @@ ProcXFixesSetPictureClipRegion (ClientPtr client) return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin, pRegion); -#else - return BadRequest; -#endif } int -- cgit v1.2.3