diff options
Diffstat (limited to 'src/intel/tools/gen_disasm.h')
-rw-r--r-- | src/intel/tools/gen_disasm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/tools/gen_disasm.h b/src/intel/tools/gen_disasm.h index 24b56c9a8e1..d2764bb90b7 100644 --- a/src/intel/tools/gen_disasm.h +++ b/src/intel/tools/gen_disasm.h @@ -24,6 +24,10 @@ #ifndef GEN_DISASM_H #define GEN_DISASM_H +#ifdef __cplusplus +extern "C" { +#endif + struct gen_disasm; struct gen_disasm *gen_disasm_create(int pciid); @@ -32,4 +36,8 @@ void gen_disasm_disassemble(struct gen_disasm *disasm, void gen_disasm_destroy(struct gen_disasm *disasm); +#ifdef __cplusplus +} +#endif + #endif /* GEN_DISASM_H */ |