Skip to content
  • Ian Romanick's avatar
    mesa: Fix warning about static being in the wrong place · 8fafb0a6
    Ian Romanick authored
    
    
    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: default avatarIan Romanick <ian.d.romanick@intel.com>
    Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
    8fafb0a6