summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-09-26 20:14:57 -0600
committerBrian Paul <[email protected]>2015-09-29 11:51:38 -0600
commit3bbff1e26ee8bbf63f7a954c3f24d514486939e5 (patch)
tree44ddd58983c899e3686f419119b2d6902d537af0 /src/mesa
parent681b4badaedec5c9503887c4afb32485ce22c30e (diff)
mesa: remove an extern "C" wrapper in shader_query.cpp
The shaderapi.h header already has the extern "C" wrapper. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/shader_query.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index b6d36776562..16b43e840c7 100644
--- a/src/mesa/main/shader_query.cpp
+++ b/src/mesa/main/shader_query.cpp
@@ -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,