separated devices
[mTask.git] / client / sds.h
index 4179f47..f99bb1e 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef SDS_H
 #define SDS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdbool.h>
 
 struct sds {
@@ -18,4 +22,7 @@ void sds_publish(int id);
 int sds_fetch(int id);
 void sds_store(int id, int val);
 
+#ifdef __cplusplus
+}
+#endif
 #endif