[Mesa-dev] [PATCH 02/13] anv: remove unneeded extern C notation

Emil Velikov emil.l.velikov at gmail.com
Thu Feb 16 15:16:32 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Analogous to previous commit.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/vulkan/anv_private.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index da1ca29f64..f3a267f051 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -68,10 +68,6 @@ struct gen_l3_config;
 
 #include "wsi_common.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /* Allowing different clear colors requires us to perform a depth resolve at
  * the end of certain render passes. This is because while slow clears store
  * the clear color in the HiZ buffer, fast clears (without a resolve) don't.
@@ -1970,8 +1966,4 @@ ANV_DEFINE_NONDISP_HANDLE_CASTS(anv_shader_module, VkShaderModule)
 #  undef genX
 #endif
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* ANV_PRIVATE_H */
-- 
2.11.0



More information about the mesa-dev mailing list