mesa: Fix warning about static being in the wrong place
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 19 Aug 2015 00:41:30 +0000 (17:41 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 23:24:17 +0000 (16:24 -0700)
commit8fafb0a67faa548cb16e122e214912a17835e369
tree78f52dd7d38f62315a964e832ae0f976c473bdc2
parent06ada493fbc22e99867e14f26f1a511b343e3759
mesa: Fix warning about static being in the wrong place

Because the compiler already has enough things to complain about.

    grep -rl 'const static' src/ | while read f
    do
        sed --in-place -e 's/const static/static const/g' $f
    done

brw_eu_emit.c: In function 'brw_reg_type_to_hw_type':
brw_eu_emit.c:98:7: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
       const static int imm_hw_types[] = {
       ^
brw_eu_emit.c:120:7: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
       const static int hw_types[] = {
       ^

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/egl/wayland/wayland-drm/wayland-drm.c
src/gallium/drivers/i915/i915_fpc_optimize.c
src/glsl/builtin_types.cpp
src/glsl/ir_reader.cpp
src/mesa/drivers/dri/i965/brw_eu_emit.c