diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-05 23:40:04 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-05 23:40:04 +0400 |
commit | e9fb256ca51b68e387f7ad536280ad51c6f98047 (patch) | |
tree | a42626cbcfddcaf16578c5cb3831f4807217ff73 /vlist.h | |
parent | 76906bec1cbdadba07899ea46beab30b1dfb7010 (diff) |
vlist: constify key argument to vlist_add
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'vlist.h')
-rw-r--r-- | vlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ static inline void vlist_update(struct vlist_tree *tree) tree->version++; } -void vlist_add(struct vlist_tree *tree, struct vlist_node *node, void *key); +void vlist_add(struct vlist_tree *tree, struct vlist_node *node, const void *key); void vlist_delete(struct vlist_tree *tree, struct vlist_node *node); void vlist_flush(struct vlist_tree *tree); void vlist_flush_all(struct vlist_tree *tree); |