intel: Add extern "C" declarations to headers
authorPaul Berry <stereotype441@gmail.com>
Fri, 27 Apr 2012 14:40:34 +0000 (07:40 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 10 May 2012 17:30:00 +0000 (10:30 -0700)
commit434fc8bde41f07687ad8941ceba03c4b3e0e75bb
tree4ef8732c92f158d0a9f4f2fe0955e01f95ab31d7
parentb0bb125736fd29dbad6cfa8d4de0c44eaf5e28ad
intel: Add extern "C" declarations to headers

These declarations are necessary to allow C++ code to call C code
without causing unresolved symbols (which would make the driver fail
to load).

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_hiz.h
src/mesa/drivers/dri/i965/gen7_hiz.h
src/mesa/drivers/dri/intel/intel_batchbuffer.h
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_fbo.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/main/teximage.h