ref: 804fde61d2a0f6ddd9fce27d07f25e1751da2b70
parent: 8cc5ebef0dbba7504438ea7e495d4d6a3e4d80fe
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Sun Oct 4 18:16:12 EDT 2015
Don't make those rb-tree symbols global.
--- a/lwext4/ext4_xattr.c
+++ b/lwext4/ext4_xattr.c
@@ -28,10 +28,11 @@
return memcmp(a->name, b->name, a->name_len);
}
-RB_GENERATE (ext4_xattr_tree,
- ext4_xattr_item,
- node,
- ext4_xattr_item_cmp)
+RB_GENERATE_INTERNAL(ext4_xattr_tree,
+ ext4_xattr_item,
+ node,
+ ext4_xattr_item_cmp,
+ static inline)
static struct ext4_xattr_item *
ext4_xattr_item_alloc(uint8_t name_index,