summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd')
-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