summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mga.h3
-rw-r--r--src/mga_arc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mga.h b/src/mga.h
index f47b0af..1a7cb47 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -737,8 +737,9 @@ Bool mgaExaInit(ScreenPtr pScreen);
Bool MGAHWCursorInit(ScreenPtr pScreen);
-
+#ifdef USE_XAA
void MGAPolyArcThinSolid(DrawablePtr, GCPtr, int, xArc*);
+#endif /* USE_XAA */
Bool MGADGAInit(ScreenPtr pScreen);
diff --git a/src/mga_arc.c b/src/mga_arc.c
index 61ade3b..3c9dd42 100644
--- a/src/mga_arc.c
+++ b/src/mga_arc.c
@@ -59,6 +59,7 @@ in this Software without prior written authorization from The Open Group.
OUTREG(MGAREG_YDSTLEN + MGAREG_EXEC, ((y) << 16) | 1); \
}
+#ifdef USE_XAA
static void
MGAZeroArc(
DrawablePtr pDraw,
@@ -220,4 +221,5 @@ MGAPolyArcThinSolid (
miPolyArc(pDraw, pGC, 1, arc);
}
}
+#endif /* USE_XAA */