From: Brian Paul Date: Wed, 17 Jan 2018 04:58:58 +0000 (-0700) Subject: glsl: remove unneeded extern "C" {} bracketing around Mesa includes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f631a6ae8c951fc448618c1770f95ad93cac812b;p=mesa.git glsl: remove unneeded extern "C" {} bracketing around Mesa includes The two headers already have the right extern "C" annotations. Reviewed-by: Nicolai Hähnle --- diff --git a/src/compiler/glsl/serialize.cpp b/src/compiler/glsl/serialize.cpp index 769ab560c87..63ce41d87bd 100644 --- a/src/compiler/glsl/serialize.cpp +++ b/src/compiler/glsl/serialize.cpp @@ -33,13 +33,11 @@ #include "compiler/shader_info.h" #include "ir_uniform.h" #include "main/mtypes.h" +#include "main/shaderobj.h" +#include "program/program.h" #include "string_to_uint_map.h" #include "util/bitscan.h" -extern "C" { -#include "main/shaderobj.h" -#include "program/program.h" -} static void write_subroutines(struct blob *metadata, struct gl_shader_program *prog)