From: Chad Versace Date: Wed, 7 Oct 2015 16:09:37 +0000 (-0700) Subject: vk/meta: Fix -Wstrict-prototypes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1c024a9321cba865d152eb5f64ac74cff47125e;p=mesa.git 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] --- 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;