[xf86-video-trident,3/4] Suppress unused function compilation warnings for XP4 XAA functions

Submitted by Kevin Brace on Feb. 25, 2019, 11:33 p.m.

Details

Message ID 20190225233308.7090-4-kevinbrace@gmx.com
State Accepted
Commit 6f21b76940f582fc3dff8e67bceacc196598f941
Headers show
Series "Convert xp4_accel.c to xp4_xaa.c" ( rev: 1 ) in X.org

Not browsing as part of any series.

Commit Message

Kevin Brace Feb. 25, 2019, 11:33 p.m.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
---
 src/xp4_accel.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/xp4_accel.c b/src/xp4_accel.c
index 949c415..be393f4 100644
--- a/src/xp4_accel.c
+++ b/src/xp4_accel.c
@@ -65,10 +65,10 @@  static void XP4SubsequentSolidBresenhamLine(ScrnInfoPtr pScrn,
                                             int dmaj, int dmin,
                                             int e, int len,
                                             int octant);
-#endif
 static void XP4SubsequentSolidHorVertLine(ScrnInfoPtr pScrn,
                                             int x, int y,
                                             int len, int dir);
+#endif
 static void XP4SetupForFillRectSolid(ScrnInfoPtr pScrn,
                                         int color,
                                         int rop,
@@ -96,6 +96,7 @@  static void XP4SubsequentMono8x8PatternFillRect(ScrnInfoPtr pScrn,
                                                 int patterny,
                                                 int x, int y,
                                                 int w, int h);
+#if 0
 static void XP4SetupForCPUToScreenColorExpandFill(ScrnInfoPtr pScrn,
                                             int fg, int bg,
                                             int rop,
@@ -104,6 +105,7 @@  static void XP4SubsequentCPUToScreenColorExpandFill(ScrnInfoPtr pScrn,
                                                     int x, int y,
                                                     int w, int h,
                                                     int skipleft);
+#endif
 
 static int bpp;
 static int ropcode;
@@ -349,7 +351,6 @@  XP4SubsequentSolidBresenhamLine(ScrnInfoPtr pScrn,
     TGUI_COMMAND(GE_BRESLINE);
     XP4Sync(pScrn);
 }
-#endif
 
 static void
 XP4SubsequentSolidHorVertLine(ScrnInfoPtr pScrn,
@@ -371,7 +372,6 @@  XP4SubsequentSolidHorVertLine(ScrnInfoPtr pScrn,
     XP4Sync(pScrn);
 }
 
-#if 0
 void
 XP4SetupForDashedLine(ScrnInfoPtr pScrn,
                         int fg, int bg,
@@ -472,7 +472,7 @@  XP4SubsequentFillRectSolid(ScrnInfoPtr pScrn,
                             2);
 }
 
-#if 1
+#if 0
 static void
 MoveDWORDS(register CARD32* dest,
             register CARD32* src,
@@ -503,7 +503,7 @@  MoveDWORDS(register CARD32* dest,
 }
 #endif
 
-#if 1
+#if 0
 static void
 MoveDWORDS_FixedBase(register CARD32* dest,
                         register CARD32* src,
@@ -573,7 +573,7 @@  XP4SubsequentMono8x8PatternFillRect(ScrnInfoPtr pScrn,
                                 2);
 }
 
-#if 1
+#if 0
 static void
 XP4SetupForCPUToScreenColorExpandFill(ScrnInfoPtr pScrn,
                                         int fg, int bg,