From e9fb256ca51b68e387f7ad536280ad51c6f98047 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Oct 2013 21:40:04 +0200 Subject: vlist: constify key argument to vlist_add Signed-off-by: Felix Fietkau --- vlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vlist.h') diff --git a/vlist.h b/vlist.h index 1dfc92c..9e188e2 100644 --- a/vlist.h +++ b/vlist.h @@ -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); -- cgit v1.2.3