projects
/
lwext4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc5ebe
)
Don't make those rb-tree symbols global.
author
ngkaho1234
<ngkaho1234@gmail.com>
Sun, 4 Oct 2015 14:16:12 +0000
(22:16 +0800)
committer
ngkaho1234
<ngkaho1234@gmail.com>
Sun, 4 Oct 2015 14:16:12 +0000
(22:16 +0800)
lwext4/ext4_xattr.c
patch
|
blob
|
history
diff --git
a/lwext4/ext4_xattr.c
b/lwext4/ext4_xattr.c
index 521866b1f54e53d30b4dbb3926514e634420867b..04830bc1c3ea23f7759d905044dff2668384bf65 100644
(file)
--- a/
lwext4/ext4_xattr.c
+++ b/
lwext4/ext4_xattr.c
@@
-28,10
+28,11
@@
static int ext4_xattr_item_cmp(struct ext4_xattr_item *a,
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,