X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ffutex.h;h=92a8446746265daf53066e6bde370deea699a262;hp=602be318647fe751b86bc9b2205e3bb79b4255f3;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/src/common/futex.h b/src/common/futex.h index 602be3186..92a844674 100644 --- a/src/common/futex.h +++ b/src/common/futex.h @@ -9,9 +9,17 @@ #ifndef _LTT_FUTEX_H #define _LTT_FUTEX_H +#ifdef __cplusplus +extern "C" { +#endif + void futex_wait_update(int32_t *futex, int active); void futex_nto1_prepare(int32_t *futex); void futex_nto1_wait(int32_t *futex); void futex_nto1_wake(int32_t *futex); +#ifdef __cplusplus +} +#endif + #endif /* _LTT_FUTEX_H */