summaryrefslogtreecommitdiff
path: root/include/persistence_client_library_error_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/persistence_client_library_error_def.h')
-rw-r--r--include/persistence_client_library_error_def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/persistence_client_library_error_def.h b/include/persistence_client_library_error_def.h
index f3c4e0d..3cb5616 100644
--- a/include/persistence_client_library_error_def.h
+++ b/include/persistence_client_library_error_def.h
@@ -19,6 +19,10 @@
* @see
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
// common error, for this error errno will be set
#define EPERS_COMMON (-1)
/// file system is locked
@@ -88,5 +92,8 @@
*/
void* dbus_main_dispatching_loop(void* dataPtr);
+#ifdef __cplusplus
+}
+#endif
#endif /* PERSISTENCE_CLIENT_LIBRARY_ERROR_DEF_H */