X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Furcu-futex.h;h=95598ad14ccafccebc0615f1ddc6803bf328a34c;hp=14fb5c0b58e5444dc584d6668e3e233d3de7fe89;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 diff --git a/urcu/urcu-futex.h b/urcu/urcu-futex.h index 14fb5c0..95598ad 100644 --- a/urcu/urcu-futex.h +++ b/urcu/urcu-futex.h @@ -23,6 +23,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 @@ -55,4 +59,8 @@ extern int compat_futex_async(int *uaddr, int op, int val, compat_futex_async(uaddr, op, val, timeout, uaddr2, val3) #endif +#ifdef __cplusplus +} +#endif + #endif /* _URCU_FUTEX_H */