Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I3039487f8e9a130b2fbcb8e6771df449d6021087
* rseq/percpu-alloc.h
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct rseq_percpu_pool;
struct rseq_percpu_pool *rseq_percpu_pool_create(size_t item_len,
void *rseq_percpu_pool_set_malloc(struct rseq_percpu_pool_set *pool_set, size_t len);
void *rseq_percpu_pool_set_zmalloc(struct rseq_percpu_pool_set *pool_set, size_t len);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RSEQ_PERCPU_ALLOC_H */