common: compile libconfig as C++
[lttng-tools.git] / src / common / shm.h
index 0798fabceed9f66671623df3e0beb4f9e4c5a7fd..530507c35ae8ed8c839638501776f5749753f124 100644 (file)
@@ -9,10 +9,16 @@
 #ifndef _LTT_SHM_H
 #define _LTT_SHM_H
 
-LTTNG_HIDDEN
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 char *shm_ust_get_mmap(char *shm_path, int global);
 
-LTTNG_HIDDEN
 int shm_create_anonymous(const char *owner_name);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LTT_SHM_H */
This page took 0.023538 seconds and 4 git commands to generate.