diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-08 00:54:33 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-08 00:54:33 +0000 |
commit | cf8bf5cd0fc134b9b61e1fa2ffeb4d7aba31af77 (patch) | |
tree | f7e34d157460ad689c350071a25d19cdd51e1ebb /archival/ar.c | |
parent | 582df5509027f8cef2b76d3da3c105bb8af2b236 (diff) | |
download | busybox-w32-cf8bf5cd0fc134b9b61e1fa2ffeb4d7aba31af77.tar.gz busybox-w32-cf8bf5cd0fc134b9b61e1fa2ffeb4d7aba31af77.tar.bz2 busybox-w32-cf8bf5cd0fc134b9b61e1fa2ffeb4d7aba31af77.zip |
Move add_to_list from libunarchive to libbb so it can be of more general use (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
git-svn-id: svn://busybox.net/trunk/busybox@6132 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival/ar.c')
-rw-r--r-- | archival/ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/ar.c b/archival/ar.c index 71cde4ebe..87968f7be 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -124,7 +124,7 @@ extern int ar_main(int argc, char **argv) | |||
124 | /* TODO: This is the same as in tar, seperate function ? */ | 124 | /* TODO: This is the same as in tar, seperate function ? */ |
125 | while (optind < argc) { | 125 | while (optind < argc) { |
126 | archive_handle->filter = filter_accept_list; | 126 | archive_handle->filter = filter_accept_list; |
127 | archive_handle->accept = add_to_list(archive_handle->accept, argv[optind]); | 127 | archive_handle->accept = llist_add_to(archive_handle->accept, argv[optind]); |
128 | optind++; | 128 | optind++; |
129 | } | 129 | } |
130 | 130 | ||