diff options
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/Makefile.in | 1 | ||||
-rw-r--r-- | archival/libunarchive/filter_accept_all.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/filter_accept_list.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/filter_accept_reject_list.c | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/archival/libunarchive/Makefile.in b/archival/libunarchive/Makefile.in index e406f75..469004d 100644 --- a/archival/libunarchive/Makefile.in +++ b/archival/libunarchive/Makefile.in @@ -31,6 +31,7 @@ LIBUNARCHIVE-y:= \ \ filter_accept_all.o \ filter_accept_list.o \ + filter_accept_list_reassign.o \ filter_accept_reject_list.o \ \ get_header_ar.o \ diff --git a/archival/libunarchive/filter_accept_all.c b/archival/libunarchive/filter_accept_all.c index d7bccb5..baf9e4b 100644 --- a/archival/libunarchive/filter_accept_all.c +++ b/archival/libunarchive/filter_accept_all.c @@ -22,7 +22,7 @@ #include "unarchive.h" /* Accept any non-null name, its not really a filter at all */ -extern char filter_accept_all(const archive_handle_t *archive_handle) +extern char filter_accept_all(archive_handle_t *archive_handle) { if (archive_handle->file_header->name) { return(EXIT_SUCCESS); diff --git a/archival/libunarchive/filter_accept_list.c b/archival/libunarchive/filter_accept_list.c index 5ff3ad2..e1c4827 100644 --- a/archival/libunarchive/filter_accept_list.c +++ b/archival/libunarchive/filter_accept_list.c @@ -24,7 +24,7 @@ /* * Accept names that are in the accept list, ignoring reject list. */ -extern char filter_accept_list(const archive_handle_t *archive_handle) +extern char filter_accept_list(archive_handle_t *archive_handle) { if (find_list_entry(archive_handle->accept, archive_handle->file_header->name)) { return(EXIT_SUCCESS); diff --git a/archival/libunarchive/filter_accept_reject_list.c b/archival/libunarchive/filter_accept_reject_list.c index 48e9ed8..657f7a0 100644 --- a/archival/libunarchive/filter_accept_reject_list.c +++ b/archival/libunarchive/filter_accept_reject_list.c @@ -24,7 +24,7 @@ /* * Accept names that are in the accept list and not in the reject list */ -extern char filter_accept_reject_list(const archive_handle_t *archive_handle) +extern char filter_accept_reject_list(archive_handle_t *archive_handle) { const char *key = archive_handle->file_header->name; const llist_t *accept_entry = find_list_entry(archive_handle->accept, key); |