projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
681b4ba
)
mesa: remove an extern "C" wrapper in shader_query.cpp
author
Brian Paul
<brianp@vmware.com>
Sun, 27 Sep 2015 02:14:57 +0000
(20:14 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/shader_query.cpp
b/src/mesa/main/shader_query.cpp
index b6d36776562c63c1e878c8fad0a95055d6d3e644..16b43e840c7aa2cb3c00cc934cb3315b52f19692 100644
(file)
--- 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,