[Mesa-dev] [PATCH 05/13] mesa/tests: remove unneeded extern C { #include foo } hack
Emil Velikov
emil.l.velikov at gmail.com
Thu Feb 16 15:16:35 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
The header itself (enums.h) is already properly annotated.
Signed-off-by: Emil Velikov <emil.velikov at collabora.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 4d8d12fdf2..1395ac8fb3 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;
--
2.11.0
More information about the mesa-dev
mailing list