OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ab07c
)
radv: consistently use ifndef guards over pragma once
author
Emil Velikov
<emil.l.velikov@gmail.com>
Mon, 20 Mar 2017 16:04:05 +0000
(16:04 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 16:55:21 +0000
(16:55 +0000)
Namely: annotate the single file which is not using a ifndef guard -
vk_format.h
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/amd/vulkan/vk_format.h
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/vk_format.h
b/src/amd/vulkan/vk_format.h
index
bee8e7d
..
13ac179
100644
(file)
--- 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 */