ir_to_mesa: Move some things outside the 'extern "C"' blocks
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 11 Sep 2011 21:10:33 +0000 (16:10 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 19 Oct 2011 00:26:38 +0000 (17:26 -0700)
commitbbbb8345ab9df2d634dc2a34d257ee2cbf930292
treecd7579458a88a83b4e9d6a77e463f9ab085c514d
parent1375d67984f0cd01efa7b256864f21dc4ff75982
ir_to_mesa: Move some things outside the 'extern "C"' blocks

Having a few of these includes or forward declarations inside the
'extern "C"' block can cause problems later.  Specifically, it
prevents C++ linkage functions from being added to ir_to_mesa.h and
makes G++ angry if 'struct foo' is seen both inside and outside an
'extern "C"'.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_clone.cpp
src/glsl/ir_print_visitor.cpp
src/glsl/ir_set_program_inouts.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/ir_to_mesa.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp