projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: add extern C notation in headers
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
intel_tex_obj.h
diff --git
a/src/mesa/drivers/dri/i965/intel_tex_obj.h
b/src/mesa/drivers/dri/i965/intel_tex_obj.h
index 844aad1ab3083e310d3878578b5c11e897573038..27c18b7c3ceeb12565c7fffbdd51d48305aec640 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_tex_obj.h
+++ b/
src/mesa/drivers/dri/i965/intel_tex_obj.h
@@
-28,6
+28,9
@@
#include "swrast/s_context.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
struct intel_texture_object
{
@@
-90,4
+93,8
@@
intel_texture_image(struct gl_texture_image *img)
return (struct intel_texture_image *) img;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _INTEL_TEX_OBJ_H */