From f0bf7634b77263a4dd02b20c71861ab67995da68 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 17 Oct 2009 11:11:58 +0300 Subject: [PATCH] Fix wrong function name in the previous commit. It was meant to be lzma_filters_copy(), not lzma_filters_dup(). --- src/liblzma/api/lzma/filter.h | 2 +- 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)