diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-10-17 11:11:58 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-10-17 11:11:58 +0300 |
commit | f0bf7634b77263a4dd02b20c71861ab67995da68 (patch) | |
tree | ab15cd37f3998df9d52922904951633c9a6de6ff /src | |
parent | Add lzma_filters_copy(). (diff) | |
download | xz-f0bf7634b77263a4dd02b20c71861ab67995da68.tar.xz |
Fix wrong function name in the previous commit.
It was meant to be lzma_filters_copy(), not lzma_filters_dup().
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/api/lzma/filter.h | 2 | ||||
-rw-r--r-- | src/liblzma/common/filter_common.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/filter.h b/src/liblzma/api/lzma/filter.h index c3a20998..c4bc69d3 100644 --- a/src/liblzma/api/lzma/filter.h +++ b/src/liblzma/api/lzma/filter.h @@ -121,7 +121,7 @@ extern LZMA_API(lzma_bool) lzma_filter_decoder_is_supported(lzma_vli id) * is not NULL. * - LZMA_PROG_ERROR: src or dest is NULL. */ -extern LZMA_API(lzma_ret) lzma_filters_dup(const lzma_filter *src, +extern LZMA_API(lzma_ret) lzma_filters_copy(const lzma_filter *src, lzma_filter *dest, lzma_allocator *allocator); diff --git a/src/liblzma/common/filter_common.c b/src/liblzma/common/filter_common.c index c839e231..055093f7 100644 --- a/src/liblzma/common/filter_common.c +++ b/src/liblzma/common/filter_common.c @@ -131,7 +131,7 @@ static const struct { extern LZMA_API(lzma_ret) -lzma_filters_dup(const lzma_filter *src, lzma_filter *dest, +lzma_filters_copy(const lzma_filter *src, lzma_filter *dest, lzma_allocator *allocator) { if (src == NULL || dest == NULL) |