From: Emil Velikov <[email protected]>

Header is never #include(d) by a C++ source.

Signed-off-by: Emil Velikov <[email protected]>
---
 src/amd/vulkan/vk_format.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/amd/vulkan/vk_format.h b/src/amd/vulkan/vk_format.h
index 58ee3f71f0..bee8e7d9ee 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
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to