summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-16 21:58:58 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commitf631a6ae8c951fc448618c1770f95ad93cac812b (patch)
treeb82f5c9348e6b4a0bb7c1c07dcd39da63f580474
parent7421e34dd69dfb8911e99b6004f8806707c323d1 (diff)
glsl: remove unneeded extern "C" {} bracketing around Mesa includes
The two headers already have the right extern "C" annotations. Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/compiler/glsl/serialize.cpp6
1 files changed, 2 insertions, 4 deletions
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)