radv: remove unneeded extern C notation
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Feb 2017 15:16:31 +0000 (15:16 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 21 Feb 2017 18:28:15 +0000 (18:28 +0000)
Header is never #include(d) by a C++ source.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/amd/vulkan/vk_format.h

index 58ee3f71f06e6dbc1535ef54d1a16e9808d62793..bee8e7d9eedefde855efebae1d9a98dfb3494706 100644 (file)
 
 #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