Namely: annotate the single file which is not using a ifndef guard - vk_format.h
Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> --- src/amd/vulkan/vk_format.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/vk_format.h b/src/amd/vulkan/vk_format.h index bee8e7d9eed..13ac1793460 100644 --- a/src/amd/vulkan/vk_format.h +++ b/src/amd/vulkan/vk_format.h @@ -24,7 +24,8 @@ * IN THE SOFTWARE. */ -#pragma once +#ifndef VK_FORMAT_H +#define VK_FORMAT_H #include <assert.h> #include <vulkan/vulkan.h> @@ -443,3 +444,5 @@ vk_format_get_component_bits(VkFormat format, return 0; } } + +#endif /* VK_FORMAT_H */ -- 2.11.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev