From: Emil Velikov Date: Thu, 16 Feb 2017 15:16:35 +0000 (+0000) Subject: mesa/tests: remove unneeded extern C { #include foo } hack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94b88c1c757e5d3a93a79d6227daaf834de063d9;p=mesa.git mesa/tests: remove unneeded extern C { #include foo } hack The header itself (enums.h) is already properly annotated. Signed-off-by: Emil Velikov Reviewed-by: Nicolai Hähnle Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/tests/enum_strings.cpp b/src/mesa/main/tests/enum_strings.cpp index 4d8d12fdf2b..1395ac8fb33 100644 --- a/src/mesa/main/tests/enum_strings.cpp +++ b/src/mesa/main/tests/enum_strings.cpp @@ -24,9 +24,7 @@ #include #include -extern "C" { #include "main/enums.h" -} struct enum_info { int value;