summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/vk_format.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-16 15:16:31 +0000
committerEmil Velikov <[email protected]>2017-02-21 18:28:15 +0000
commit944620bc0e6f117ecdd3c2938adc1538f377669e (patch)
treeb44354c7f3bb2b0e7623cd56106ce9e9afab370f /src/amd/vulkan/vk_format.h
parent4bf986274728dbad7428094ee8e2da17d19edfba (diff)
radv: remove unneeded extern C notation
Header is never #include(d) by a C++ source. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/amd/vulkan/vk_format.h')
-rw-r--r--src/amd/vulkan/vk_format.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/amd/vulkan/vk_format.h b/src/amd/vulkan/vk_format.h
index 58ee3f71f06..bee8e7d9eed 100644
--- a/src/amd/vulkan/vk_format.h
+++ b/src/amd/vulkan/vk_format.h
@@ -26,13 +26,10 @@
#pragma once
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <assert.h>
#include <vulkan/vulkan.h>
#include <util/macros.h>
+
enum vk_format_layout {
/**
* Formats with vk_format_block::width == vk_format_block::height == 1
@@ -446,6 +443,3 @@ vk_format_get_component_bits(VkFormat format,
return 0;
}
}
-#ifdef __cplusplus
-} // extern "C" {
-#endif