From 4c790f614ecba1f6468e51779cfaf0e36b6b17ad Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Sat, 6 Jan 2007 08:21:36 -0800 Subject: More sparse cleanups: NULL vs. 0 make some variables static remove redundant variables There are only a few sparse warnings left now: some bitfield warnings and a few 'mixing code and declarations' warnings from the ring macros. --- src/i830_exa.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/i830_exa.c') diff --git a/src/i830_exa.c b/src/i830_exa.c index 9356c79c..e9ded737 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -57,9 +57,9 @@ do { \ } while(0) #endif -float scale_units[2][2]; +static float scale_units[2][2]; -const int I830CopyROP[16] = +const static int I830CopyROP[16] = { ROP_0, /* GXclear */ ROP_DSa, /* GXand */ @@ -79,7 +79,7 @@ const int I830CopyROP[16] = ROP_1 /* GXset */ }; -const int I830PatternROP[16] = +const static int I830PatternROP[16] = { ROP_0, ROP_DPa, @@ -111,8 +111,8 @@ union intfloat { OUT_RING(tmp.ui); \ } while(0) -Bool is_transform[2]; -PictTransform *transform[2]; +static Bool is_transform[2]; +static PictTransform *transform[2]; extern Bool I830EXACheckComposite(int, PicturePtr, PicturePtr, PicturePtr); extern Bool I830EXAPrepareComposite(int, PicturePtr, PicturePtr, PicturePtr, -- cgit v1.2.3