#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 */