util: use C99 declaration in the for-loop hash_table_foreach() macro
authorEric Engestrom <eric@engestrom.ch>
Sat, 20 Oct 2018 17:00:08 +0000 (18:00 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 25 Oct 2018 11:43:18 +0000 (12:43 +0100)
commitbb84fa146f2252f22999205a2904d8a948bffd3b
tree2e4773252d67da46590ec4a545fc10f6125043a9
parent3d261cf77b35c56cc575ce9bb7909d2f8d920233
util: use C99 declaration in the for-loop hash_table_foreach() macro

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
36 files changed:
src/amd/common/ac_nir_to_llvm.c
src/broadcom/compiler/vir_live_variables.c
src/broadcom/compiler/vir_lower_uniforms.c
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/link_uniform_blocks.cpp
src/compiler/glsl/opt_constant_propagation.cpp
src/compiler/glsl/opt_constant_variable.cpp
src/compiler/glsl/opt_dead_code.cpp
src/compiler/glsl/tests/array_refcount_test.cpp
src/compiler/nir/nir_lower_global_vars_to_local.c
src/compiler/nir/nir_lower_io_arrays_to_elements.c
src/compiler/nir/nir_lower_io_to_scalar.c
src/compiler/nir/nir_opt_copy_prop_vars.c
src/compiler/nir/nir_validate.c
src/gallium/drivers/freedreno/a6xx/fd6_texture.c
src/gallium/drivers/freedreno/ir3/ir3_cache.c
src/gallium/drivers/v3d/v3d_context.c
src/gallium/drivers/v3d/v3d_job.c
src/gallium/drivers/v3d/v3d_program.c
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_job.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir_live_variables.c
src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c
src/intel/common/gen_decoder.c
src/intel/compiler/brw_nir_analyze_ubo_ranges.c
src/intel/tools/aubinator_viewer.cpp
src/intel/vulkan/anv_pipeline_cache.c
src/mesa/drivers/dri/i965/brw_performance_query.c
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/main/hash.c
src/util/hash_table.c
src/util/hash_table.h
src/util/tests/hash_table/clear.c
src/util/tests/hash_table/collision.c
src/vulkan/wsi/wsi_common_x11.c