summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 14:09:14 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 14:09:14 -0800
commit0176634d5e14f59dbd93895f4056ece528efd950 (patch)
treeed72fa4be54eff217126a916d8a167416af9f09c /src
parent57cfa71b2ca68a705c665c6b0ee920690b8eccb3 (diff)
Fix warning: ‘NVDMAKickoffCallback’ defined but not used [-Wunused-function]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/nv_xaa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_xaa.c b/src/nv_xaa.c
index bf2b4d2..f1e2dd4 100644
--- a/src/nv_xaa.c
+++ b/src/nv_xaa.c
@@ -291,6 +291,7 @@ void NVSync(ScrnInfoPtr pScrn)
while(pNv->PGRAPH[0x0700/4]);
}
+#ifdef HAVE_XAA_H
static void
NVDMAKickoffCallback (ScrnInfoPtr pScrn)
{
@@ -300,7 +301,6 @@ NVDMAKickoffCallback (ScrnInfoPtr pScrn)
pNv->DMAKickoffCallback = NULL;
}
-#ifdef HAVE_XAA_H
static void
NVSetupForScreenToScreenCopy(
ScrnInfoPtr pScrn,