]> git.lizzy.rs Git - dragonstd.git/blobdiff - list.h
Add key to add functions
[dragonstd.git] / list.h
diff --git a/list.h b/list.h
index 4a7333b26a8e62a9be1450997506cd9bfca73d3a..9e03023e2cf48cad86b072c9ebc356c7693822f6 100644 (file)
--- a/list.h
+++ b/list.h
@@ -34,7 +34,7 @@ void list_ini(List *list);
        This function should be called before any other function is called on the list.
 */
 
-bool list_add(List *list, void *dat, void *cmp, void *trans);
+bool list_add(List *list, void *key, void *dat, void *cmp, void *trans);
 /*
        Add an element to the list.