From b9d035e75bfa8c0f9ba8bce196185112d6398036 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:05 +0000 Subject: [PATCH] radv: consistently use ifndef guards over pragma once MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Namely: annotate the single file which is not using a ifndef guard - vk_format.h Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- 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 #include @@ -443,3 +444,5 @@ vk_format_get_component_bits(VkFormat format, return 0; } } + +#endif /* VK_FORMAT_H */ -- 2.30.2