summaryrefslogtreecommitdiff
path: root/chip/host/persistence.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/persistence.h')
-rw-r--r--chip/host/persistence.h8
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 */