diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-02-15 10:34:30 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-02-15 10:34:56 +0100 |
commit | 2b200585e9018868c754b1d8196b83721522c60f (patch) | |
tree | 5d9826ef4e99e3a88cf7a15738ac8b978daaea67 | |
parent | b635c78530d5d7f27f9805790c1f7ca227959177 (diff) |
Fix broken C++ guard in rbtree.h
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r-- | include/util/rbtree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/util/rbtree.h b/include/util/rbtree.h index aac175b..07f2ce9 100644 --- a/include/util/rbtree.h +++ b/include/util/rbtree.h @@ -52,6 +52,10 @@ static SQFS_INLINE void *rbtree_node_value(rbtree_node_t *n) return n->data + n->value_offset; } +#ifdef __cplusplus +extern "C" { +#endif + SQFS_INTERNAL int rbtree_init(rbtree_t *tree, size_t keysize, size_t valuesize, int(*key_compare)(const void *, const void *, const void *)); |