From 1fc93ee184ceefaea9528bb46ae82884c44d9b36 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 20 Apr 2009 14:42:31 -0700 Subject: Staticize a bunch of functions and variables in the driver. This cleans up findstatic.pl output for the i830+ code, which resulted in removing some code. The only odd part of this commit is the if (0) i830_sdvo_dump() in i830_sdvo.c -- it tells the compiler that the code is used, without using it since we want the code around while debugging. It's also in a likely place to ask for the dump, so I think it's OK. --- src/i830_xaa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/i830_xaa.c') diff --git a/src/i830_xaa.c b/src/i830_xaa.c index 1f82840d..ede7cc26 100644 --- a/src/i830_xaa.c +++ b/src/i830_xaa.c @@ -92,7 +92,7 @@ static void I830SubsequentScanlineImageWriteRect(ScrnInfoPtr pScrn, static void I830SubsequentImageWriteScanline(ScrnInfoPtr pScrn, int bufno); #endif -void +static void i830_xaa_composite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, @@ -712,7 +712,7 @@ I830SubsequentImageWriteScanline(ScrnInfoPtr pScrn, int bufno) * Special case acceleration for Render acceleration of rotation operations * by xf86Rotate.c */ -void +static void i830_xaa_composite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, -- cgit v1.2.3