mesa/tests: remove unneeded extern C { #include foo } hack
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Feb 2017 15:16:35 +0000 (15:16 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 21 Feb 2017 18:29:01 +0000 (18:29 +0000)
The header itself (enums.h) is already properly annotated.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/tests/enum_strings.cpp

index 4d8d12fdf2be4f77b559804520c82516e2a4b56b..1395ac8fb33b81e24e5abbbc43005db5522e17e9 100644 (file)
@@ -24,9 +24,7 @@
 #include <gtest/gtest.h>
 #include <GL/gl.h>
 
-extern "C" {
 #include "main/enums.h"
-}
 
 struct enum_info {
    int value;