glsl: remove unneeded extern "C" {} bracketing around Mesa includes
authorBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 04:58:58 +0000 (21:58 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000 (11:17 -0700)
The two headers already have the right extern "C" annotations.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/serialize.cpp

index 769ab560c87f4c24291ee644c65ea73cb7c295b1..63ce41d87bdc2ba6f91060ea8973f92d191c00d9 100644 (file)
 #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)