From 60ebe97e2d5d27c2bf4213e201cef74503809cb6 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Mon, 3 Jul 2006 19:37:28 +0200 Subject: Move variable declarations before statements to be C89 compatible --- src/radeon_exa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/radeon_exa.c b/src/radeon_exa.c index ea2f9b2..9ef74e9 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -293,8 +293,8 @@ static void RADEONFinishAccess(PixmapPtr pPix, int index) #define RADEON_SWITCH_TO_2D() \ do { \ - BEGIN_ACCEL(1); \ CARD32 wait_until = 0; \ + BEGIN_ACCEL(1); \ switch (info->engineMode) { \ case EXA_ENGINEMODE_UNKNOWN: \ wait_until |= RADEON_WAIT_HOST_IDLECLEAN | RADEON_WAIT_2D_IDLECLEAN; \ @@ -310,8 +310,8 @@ do { \ #define RADEON_SWITCH_TO_3D() \ do { \ - BEGIN_ACCEL(1); \ CARD32 wait_until = 0; \ + BEGIN_ACCEL(1); \ switch (info->engineMode) { \ case EXA_ENGINEMODE_UNKNOWN: \ wait_until |= RADEON_WAIT_HOST_IDLECLEAN | RADEON_WAIT_3D_IDLECLEAN; \ -- cgit v1.2.3