bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / hashtable / utils.h
index 992643931f5e42568fa2bd06dd6f16bb260c072a..44f80ce4fb2b65a585f59626d3ba20e470208d3c 100644 (file)
 
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 unsigned long hash_key_ulong(const void *_key, unsigned long seed);
 unsigned long hash_key_u64(const void *_key, unsigned long seed);
 unsigned long hash_key_str(const void *key, unsigned long seed);
@@ -19,4 +23,8 @@ int hash_match_key_u64(const void *key1, const void *key2);
 int hash_match_key_str(const void *key1, const void *key2);
 int hash_match_key_two_u64(const void *key1, const void *key2);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LTT_HT_UTILS_H */
This page took 0.023625 seconds and 4 git commands to generate.