summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:05 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:21 +0000
commitb9d035e75bfa8c0f9ba8bce196185112d6398036 (patch)
tree693c0596b5f41bc6bf6c782e589a6e027b8488f7 /src
parent95ab07c586884699df0bbdf9a0bc9acd8c626c8b (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')
-rw-r--r--src/amd/vulkan/vk_format.h5
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 */