summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2015-03-04 16:37:29 -0800
committerMatt Turner <mattst88@gmail.com>2015-03-05 10:21:40 -0800
commit237dcb4aa7c39c59bfd225ae3d73caf709be216d (patch)
tree9139b596ac2383fa3e4ada351b94000ba9319e5f /src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
parent2e4c95dfe2cb205c327ceaa12b44a9273bdb20dc (diff)
downloadexternal_mesa3d-237dcb4aa7c39c59bfd225ae3d73caf709be216d.zip
external_mesa3d-237dcb4aa7c39c59bfd225ae3d73caf709be216d.tar.gz
external_mesa3d-237dcb4aa7c39c59bfd225ae3d73caf709be216d.tar.bz2
Fix invalid extern "C" around header inclusion.
System headers may contain C++ declarations, which cannot be given C linkage. For this reason, include statements should never occur inside extern "C". This patch moves the C linkage statements to enclose only the declarations within a single header. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
index 03e5fdb..01d3a56 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
@@ -37,10 +37,8 @@
* behavior we want for the results of texture lookups, but probably not for
*/
-extern "C" {
#include "main/core.h"
#include "brw_context.h"
-}
#include "glsl/ir.h"
#include "glsl/ir_visitor.h"
#include "glsl/ir_rvalue_visitor.h"