X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fshm.h;h=530507c35ae8ed8c839638501776f5749753f124;hp=d714506b85b2f4a472a8186fad47c621126ed6ca;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab 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 */