diff options
author | Allen Webb <allenwebb@google.com> | 2018-11-09 09:42:53 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-15 13:16:06 -0800 |
commit | 1c95cff7463ef29bd0c6d087ce8c3d7e17f94c6a (patch) | |
tree | 90de208cb94b874a8fc3a8a1f1082116e908cc48 /chip/host | |
parent | 268b07da45535033ae39240e958fc00386e37684 (diff) | |
download | chrome-ec-1c95cff7463ef29bd0c6d087ce8c3d7e17f94c6a.tar.gz |
cr50: Add extern "C" to headers used by future fuzzing target.
BRANCH=None
BUG=None
TEST=make -j buildall
Change-Id: Icf2cfb6a2657064c10721c0e527d24fbb3be6ab3
Signed-off-by: Allen Webb <allenwebb@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1330102
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'chip/host')
-rw-r--r-- | chip/host/persistence.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/host/persistence.h b/chip/host/persistence.h index 1fab1c8235..56e2df2eb4 100644 --- a/chip/host/persistence.h +++ b/chip/host/persistence.h @@ -10,10 +10,18 @@ #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif + FILE *get_persistent_storage(const char *tag, const char *mode); void release_persistent_storage(FILE *ps); void remove_persistent_storage(const char *tag); +#ifdef __cplusplus +} +#endif + #endif /* __CROS_EC_PERSISTENCE_H */ |