summaryrefslogtreecommitdiff
path: root/host/include/cgpt_params.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/cgpt_params.h')
-rw-r--r--host/include/cgpt_params.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h
index 5bd1f76a..ffd071a2 100644
--- a/host/include/cgpt_params.h
+++ b/host/include/cgpt_params.h
@@ -5,10 +5,15 @@
#ifndef VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_
#define VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_
+
#include <stdint.h>
#include "gpt.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
enum {
CGPT_OK = 0,
CGPT_FAILED,
@@ -128,4 +133,8 @@ typedef struct CgptLegacyParams {
int mode;
} CgptLegacyParams;
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_ */