mesa: remove an extern "C" wrapper in shader_query.cpp
authorBrian Paul <brianp@vmware.com>
Sun, 27 Sep 2015 02:14:57 +0000 (20:14 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Sep 2015 17:51:38 +0000 (11:51 -0600)
The shaderapi.h header already has the extern "C" wrapper.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/shader_query.cpp

index b6d36776562c63c1e878c8fad0a95055d6d3e644..16b43e840c7aa2cb3c00cc934cb3315b52f19692 100644 (file)
@@ -32,6 +32,7 @@
 #include "main/core.h"
 #include "glsl_symbol_table.h"
 #include "ir.h"
+#include "shaderapi.h"
 #include "shaderobj.h"
 #include "program/hash_table.h"
 #include "../glsl/program.h"
@@ -39,9 +40,6 @@
 #include "main/enums.h"
 #include "util/strndup.h"
 
-extern "C" {
-#include "shaderapi.h"
-}
 
 static GLint
 program_resource_location(struct gl_shader_program *shProg,