X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Fust.h;h=593598b42dc27a7ba599426ad5f2567bd35b31c3;hb=8cb5d813874d3b62cea4a7d5f3748191d5ebcb5e;hp=16cd475cd2ad72988128d181aa0e6caf42cd6159;hpb=a5fd9b038fa5034ade759ca1338d2b93153ba217;p=lttng-ust.git diff --git a/include/ust/ust.h b/include/ust/ust.h index 16cd475c..593598b4 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 */