diff options
author | Mike Frysinger <vapier@chromium.org> | 2018-09-01 17:29:18 -0400 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-04 21:04:01 -0700 |
commit | 483fcf08acb9ad9bbedbb5f980314144260d5da4 (patch) | |
tree | cc44505da08c7a21ec675001bead117181658071 /host/include/cgpt_params.h | |
parent | b7a007a22971e3a257b40844d4f685875ee56d5e (diff) | |
download | vboot-483fcf08acb9ad9bbedbb5f980314144260d5da4.tar.gz |
add extern C markers to installed headers
Some of the headers have extern C markings already, so add to the
rest of the installed files so users don't have to.
BUG=chromium:878440
TEST=build passes
BRANCH=none
Change-Id: I3edf56ca2235269803049207806a9f7eb4c664f2
Reviewed-on: https://chromium-review.googlesource.com/1201042
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'host/include/cgpt_params.h')
-rw-r--r-- | host/include/cgpt_params.h | 9 |
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_ */ |