From 36024e0d3d16ec926d631a016b4d361646b8785b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 9 Apr 2023 11:58:50 -0700 Subject: Handle -Wunused-function warnings from clang Signed-off-by: Alan Coopersmith --- src/atidga.c | 2 ++ src/atiscreen.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/atidga.c b/src/atidga.c index 64ac428..166fd26 100644 --- a/src/atidga.c +++ b/src/atidga.c @@ -167,6 +167,7 @@ ATIDGAGetViewport return 0; /* There are never any pending requests */ } +#ifdef USE_XAA /* * ATIDGAFillRect -- * @@ -272,6 +273,7 @@ ATIDGABlitTransRect SET_SYNC_FLAG(pXAAInfo); #endif } +#endif /* USE_XAA */ /* * ATIDGAAddModes -- diff --git a/src/atiscreen.c b/src/atiscreen.c index 61bc01a..c1eff4c 100644 --- a/src/atiscreen.c +++ b/src/atiscreen.c @@ -100,6 +100,7 @@ ATIRefreshArea } } +#ifdef USE_XAA /* * ATIMinBits -- * @@ -118,7 +119,6 @@ ATIMinBits return bits; } -#ifdef USE_XAA static Bool ATIMach64SetupMemXAA_NoDRI ( -- cgit v1.2.3