r300/compiler: Move declaration before code.
authorVinson Lee <vlee@vmware.com>
Wed, 29 Sep 2010 18:29:12 +0000 (11:29 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 29 Sep 2010 18:32:11 +0000 (11:32 -0700)
commit45d22a9b20b6728adf4ed7c96cdf6ebf572f186d
tree90909e522de49aca05488facefb5e99353e57b6c
parent9c284b5cae916a083d17d1039d2f2da128b47882
r300/compiler: Move declaration before code.

Fixes these GCC warnings on linux-x86 build.
radeon_program_alu.c: In function ‘r300_transform_trig_simple’:
radeon_program_alu.c:882: warning: ISO C90 forbids mixed declarations and code
radeon_program_alu.c:932: warning: ISO C90 forbids mixed declarations and code
radeon_program_alu.c: In function ‘radeonTransformTrigScale’:
radeon_program_alu.c:996: warning: ISO C90 forbids mixed declarations and code
radeon_program_alu.c: In function ‘r300_transform_trig_scale_vertex’:
radeon_program_alu.c:1033: warning: ISO C90 forbids mixed declarations and code
src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c