projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf9862
)
radv: remove unneeded extern C notation
author
Emil Velikov
<emil.velikov@collabora.com>
Thu, 16 Feb 2017 15:16:31 +0000
(15:16 +0000)
committer
Emil 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
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/vk_format.h
b/src/amd/vulkan/vk_format.h
index 58ee3f71f06e6dbc1535ef54d1a16e9808d62793..bee8e7d9eedefde855efebae1d9a98dfb3494706 100644
(file)
--- 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