Module: Mesa Branch: master Commit: 944620bc0e6f117ecdd3c2938adc1538f377669e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=944620bc0e6f117ecdd3c2938adc1538f377669e
Author: Emil Velikov <emil.veli...@collabora.com> Date: Thu Feb 16 15:16:31 2017 +0000 radv: remove unneeded extern C notation Header is never #include(d) by a C++ source. Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Brian Paul <bri...@vmware.com> --- 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 58ee3f7..bee8e7d 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 _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit