X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fshm.h;h=530507c35ae8ed8c839638501776f5749753f124;hb=3afa94aeca5a0daae40fd7b6cc96b7e4c150c7d8;hp=0798fabceed9f66671623df3e0beb4f9e4c5a7fd;hpb=5fad4ed508b20b7850dc8333c55afeed6737d08c;p=lttng-tools.git diff --git a/src/common/shm.h b/src/common/shm.h index 0798fabce..530507c35 100644 --- a/src/common/shm.h +++ b/src/common/shm.h @@ -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 */