Module: Mesa
Branch: master
Commit: 94b88c1c757e5d3a93a79d6227daaf834de063d9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=94b88c1c757e5d3a93a79d6227daaf834de063d9

Author: Emil Velikov <emil.veli...@collabora.com>
Date:   Thu Feb 16 15:16:35 2017 +0000

mesa/tests: remove unneeded extern C { #include foo } hack

The header itself (enums.h) is already properly annotated.

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com>
Reviewed-by: Brian Paul <bri...@vmware.com>

---

 src/mesa/main/tests/enum_strings.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/main/tests/enum_strings.cpp 
b/src/mesa/main/tests/enum_strings.cpp
index 4d8d12f..1395ac8 100644
--- a/src/mesa/main/tests/enum_strings.cpp
+++ b/src/mesa/main/tests/enum_strings.cpp
@@ -24,9 +24,7 @@
 #include <gtest/gtest.h>
 #include <GL/gl.h>
 
-extern "C" {
 #include "main/enums.h"
-}
 
 struct enum_info {
    int value;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to