X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-defer-static.h;h=8575195a50b4d6530f4c56e7975d49567d4decca;hp=b27cfe156b6c99d3dc8ec0ef4a14540601632a21;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 diff --git a/urcu-defer-static.h b/urcu-defer-static.h index b27cfe1..8575195 100644 --- a/urcu-defer-static.h +++ b/urcu-defer-static.h @@ -37,6 +37,9 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* * Number of entries in the per-thread defer queue. Must be power of 2. @@ -127,4 +130,8 @@ struct defer_queue { struct list_head list; /* list of thread queues */ }; +#ifdef __cplusplus +} +#endif + #endif /* _URCU_DEFER_STATIC_H */