[Mesa-dev] [PATCH 08/11] mesa/main: remove unneeded extern "C" wrapping

Emil Velikov emil.l.velikov at gmail.com
Tue Nov 24 08:29:25 PST 2015


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

The header only contains a few defines and includes some system
headers. The latter of which is strongly unadvised.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mesa/main/compiler.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 93b4e6f..a828a10 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -41,11 +41,6 @@
 #include "c99_compat.h" /* inline, __func__, etc. */
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
 /**
   * Sun compilers define __i386 instead of the gcc-style __i386__
  */
@@ -92,9 +87,4 @@ extern "C" {
 #define IEEE_ONE 0x3f800000
 
 
-#ifdef __cplusplus
-}
-#endif
-
-
 #endif /* COMPILER_H */
-- 
2.6.2



More information about the mesa-dev mailing list