X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fshm.h;h=530507c35ae8ed8c839638501776f5749753f124;hb=3afa94aeca5a0daae40fd7b6cc96b7e4c150c7d8;hp=d714506b85b2f4a472a8186fad47c621126ed6ca;hpb=b7fc068d873bcfc93761f418bfefe8c928c33a59;p=lttng-tools.git diff --git a/src/common/shm.h b/src/common/shm.h index d714506b8..530507c35 100644 --- a/src/common/shm.h +++ b/src/common/shm.h @@ -9,8 +9,16 @@ #ifndef _LTT_SHM_H #define _LTT_SHM_H +#ifdef __cplusplus +extern "C" { +#endif + char *shm_ust_get_mmap(char *shm_path, int global); int shm_create_anonymous(const char *owner_name); +#ifdef __cplusplus +} +#endif + #endif /* _LTT_SHM_H */