summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-04-09 11:58:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-04-09 12:01:27 -0700
commit36024e0d3d16ec926d631a016b4d361646b8785b (patch)
tree113f5f48a848ad907cc137e5717c1f5cd647662b /src
parenta67dcc1e6ef6c0140087ee1cac630ea6ba664a3c (diff)
Handle -Wunused-function warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/atidga.c2
-rw-r--r--src/atiscreen.c2
2 files changed, 3 insertions, 1 deletions
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
(