diff options
author | Chad Versace <[email protected]> | 2015-10-07 09:09:37 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-10-07 09:10:25 -0700 |
commit | b1c024a9321cba865d152eb5f64ac74cff47125e (patch) | |
tree | 64faa863ca16878c1fa5ea17f35adb559f17c16b /src/vulkan/anv_meta.c | |
parent | 6dea1a9ba1acd7a957feb9ad43504e7accc4f8f8 (diff) |
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]
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r-- | src/vulkan/anv_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |