On 13/11/17 13:17, kevin.rogo...@intel.com wrote:
From: Kevin Rogovin <kevin.rogo...@intel.com>
Signed-off-by: Kevin Rogovin <kevin.rogo...@intel.com>
---
src/intel/common/gen_decoder.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index 8b00b6edc2..e3b2457dfd 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -34,6 +34,10 @@
extern "C" {
#endif
The line above shows you can drop this patch.
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gen_spec;
struct gen_group;
struct gen_field;
@@ -185,6 +189,9 @@ void gen_print_group(FILE *out,
struct gen_group *group,
uint64_t offset, const uint32_t *p,
bool color);
+#ifdef __cplusplus
+}
+#endif
#ifdef __cplusplus
}
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev