diff options
author | Emil Velikov <[email protected]> | 2017-03-20 16:04:05 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-22 16:55:21 +0000 |
commit | b9d035e75bfa8c0f9ba8bce196185112d6398036 (patch) | |
tree | 693c0596b5f41bc6bf6c782e589a6e027b8488f7 /src/amd/vulkan | |
parent | 95ab07c586884699df0bbdf9a0bc9acd8c626c8b (diff) |
radv: consistently use ifndef guards over pragma once
Namely: annotate the single file which is not using a ifndef guard -
vk_format.h
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Vedran Miletić <[email protected]>
Acked-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/vk_format.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 */ |