jshn: add ability to pass default values to json_get_var and json_get_vars
[project/libubox.git] / vlist.h
diff --git a/vlist.h b/vlist.h
index 1dfc92c43ec4aa33ec32548f327657341562dda0..9e188e2ce6ce823db3d8b3e615db8c6d3076e89c 100644 (file)
--- 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);