diff options
author | Nicolai Hähnle <[email protected]> | 2016-05-08 14:53:53 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-05-13 01:03:37 -0500 |
commit | 6d350fb13fff5b4fc496725cc2d771a7640e2f11 (patch) | |
tree | 1ebb5a4b9cfff790e6fc75cd3893d5ed2ebf1d9e /src/gallium/drivers/r600/r600_isa.h | |
parent | ac77fb74a018c37bbc0d42d9d4fafc1b8511ad3f (diff) |
r600: protect r600_isa.h with extern "C"
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_isa.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_isa.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_isa.h b/src/gallium/drivers/r600/r600_isa.h index b3f49bda88e..005b580ac2c 100644 --- a/src/gallium/drivers/r600/r600_isa.h +++ b/src/gallium/drivers/r600/r600_isa.h @@ -29,6 +29,10 @@ #include "util/u_debug.h" +#ifdef __cplusplus +extern "C" { +#endif + /* ALU flags */ enum alu_op_flags { @@ -1236,4 +1240,8 @@ r600_isa_cf_by_opcode(struct r600_isa* isa, unsigned opcode, unsigned is_alu) { return op - 1; } +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* R600_ISA_H_ */ |