From 944620bc0e6f117ecdd3c2938adc1538f377669e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 16 Feb 2017 15:16:31 +0000 Subject: [PATCH] radv: remove unneeded extern C notation Header is never #include(d) by a C++ source. Signed-off-by: Emil Velikov Reviewed-by: Brian Paul --- 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 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 #include #include + 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.30.2