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> | 2024-05-02 13:51:30 +0200 |
commit | 161269971ce4cb9ee9cec9a59d81376d7b7c33aa (patch) | |
tree | e7d07edb4d9f4f85bb2b527596bba0681c3fbf02 /include | |
parent | 828e36c1385b64c95ce37f849c7a1aca4d9cb0d6 (diff) |
Fix broken C++ guard in rbtree.h
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-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 *)); |