i965: add extern C notation in headers
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Feb 2017 15:16:40 +0000 (15:16 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 21 Feb 2017 18:29:28 +0000 (18:29 +0000)
commit84819146814d3ca1cbfb21ec746063da8613b0b7
tree54c81053310187b574836755eb1cb9eadbdbfeb8
parentdafc325f42e3e43b5cf97d806ab2ec4caf5ddd42
i965: add extern C notation in headers

Otherwise symbols wont be annotated with C linkage and we'll fail at
link time.

Currently this is worked around by wrapping the header inclusion itself.
The latter in itself fragile and not recommended.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i965/intel_debug.h
src/mesa/drivers/dri/i965/intel_screen.h
src/mesa/drivers/dri/i965/intel_tex_obj.h