diff options
Diffstat (limited to 'include/opcode/d10v.h')
-rw-r--r-- | include/opcode/d10v.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/d10v.h b/include/opcode/d10v.h index 95aaf88..a468e58 100644 --- a/include/opcode/d10v.h +++ b/include/opcode/d10v.h @@ -22,6 +22,10 @@ #ifndef D10V_H #define D10V_H +#ifdef __cplusplus +extern "C" { +#endif + /* Format Specifier */ #define FM00 0 #define FM01 0x40000000 @@ -205,4 +209,8 @@ int d10v_reg_name_cnt (void); /* by setting high bits to indicate type */ #define REGISTER_MASK 0xFF +#ifdef __cplusplus +} +#endif + #endif /* D10V_H */ |