X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fust.h;h=593598b42dc27a7ba599426ad5f2567bd35b31c3;hb=1ea2c2dfbd051d7ab86a2161b48aa8e4a2f2b5e2;hp=16cd475cd2ad72988128d181aa0e6caf42cd6159;hpb=1421d91ebae419fc590591eb2d59683280c9edd9;p=ust.git diff --git a/include/ust/ust.h b/include/ust/ust.h index 16cd475..593598b 100644 --- a/include/ust/ust.h +++ b/include/ust/ust.h @@ -20,6 +20,10 @@ #ifndef _UST_H #define _UST_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct ust_fork_info { sigset_t orig_sigs; } ust_fork_info_t; @@ -28,4 +32,8 @@ extern void ust_before_fork(ust_fork_info_t *fork_info); extern void ust_after_fork_parent(ust_fork_info_t *fork_info); extern void ust_after_fork_child(ust_fork_info_t *fork_info); +#ifdef __cplusplus +} +#endif + #endif /* _UST_H */