diff options
Diffstat (limited to 'firmware/lib21/include/vb21_common.h')
-rw-r--r-- | firmware/lib21/include/vb21_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/lib21/include/vb21_common.h b/firmware/lib21/include/vb21_common.h index ec4f2aa2..e89eb6cc 100644 --- a/firmware/lib21/include/vb21_common.h +++ b/firmware/lib21/include/vb21_common.h @@ -13,6 +13,10 @@ #include "2struct.h" #include "vb21_struct.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /** * Return the description of an object starting with a vb21_struct_common * header. @@ -177,4 +181,8 @@ int vb21_verify_fw_preamble(struct vb21_fw_preamble *preamble, const struct vb2_public_key *key, const struct vb2_workbuf *wb); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* VBOOT_REFERENCE_VB21_COMMON_H_ */ |