Mesa (master): mesa/tests: remove unneeded extern C { #include foo } hack

Emil Velikov evelikov at kemper.freedesktop.org
Tue Feb 21 19:05:04 UTC 2017


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

Author: Emil Velikov <emil.velikov at 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.velikov at collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Brian Paul <brianp at 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;




More information about the mesa-commit mailing list