From b1c024a9321cba865d152eb5f64ac74cff47125e Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 7 Oct 2015 09:09:37 -0700 Subject: [PATCH] vk/meta: Fix -Wstrict-prototypes In C, functions with no arguments require a void argument. build_nir_clear_fragment_shader() lacked that. Fixes: anv_meta.c:70:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] --- src/vulkan/anv_meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index a0b7070ebfe..c0e4112f363 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -67,7 +67,7 @@ build_nir_vertex_shader(bool attr_flat) } static nir_shader * -build_nir_clear_fragment_shader() +build_nir_clear_fragment_shader(void) { nir_builder b; -- 2.30.2