diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-12-08 00:54:33 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-12-08 00:54:33 +0000 |
commit | 66125c806518f74a54232206d02e30a39b621232 (patch) | |
tree | f7e34d157460ad689c350071a25d19cdd51e1ebb /archival/ar.c | |
parent | 346cdb1ddea7d825b29e9dcd73d6f7af8db8598f (diff) | |
download | busybox-w32-66125c806518f74a54232206d02e30a39b621232.tar.gz busybox-w32-66125c806518f74a54232206d02e30a39b621232.tar.bz2 busybox-w32-66125c806518f74a54232206d02e30a39b621232.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).
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 | ||