Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers.
This commit is contained in:
@@ -88,7 +88,7 @@ int cpio_main(int argc, char **argv)
|
||||
|
||||
while (optind < argc) {
|
||||
archive_handle->filter = filter_accept_list;
|
||||
archive_handle->accept = llist_add_to(archive_handle->accept, argv[optind]);
|
||||
llist_add_to(&(archive_handle->accept), argv[optind]);
|
||||
optind++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user