1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Rename message_filters_get() to message_filters_to_str().

This commit is contained in:
Lasse Collin 2010-06-01 14:13:03 +03:00
parent 4b346ae8af
commit 905e54804a
2 changed files with 3 additions and 3 deletions

View file

@ -896,7 +896,7 @@ uint32_to_optstr(uint32_t num)
extern const char * extern const char *
message_filters_get(const lzma_filter *filters, bool all_known) message_filters_to_str(const lzma_filter *filters, bool all_known)
{ {
static char buf[512]; static char buf[512];
@ -1036,7 +1036,7 @@ message_filters_show(enum message_verbosity v, const lzma_filter *filters)
return; return;
fprintf(stderr, _("%s: Filter chain: %s\n"), progname, fprintf(stderr, _("%s: Filter chain: %s\n"), progname,
message_filters_get(filters, true)); message_filters_to_str(filters, true));
return; return;
} }

View file

@ -94,7 +94,7 @@ extern void message_mem_needed(enum message_verbosity v, uint64_t memusage);
/// into .xz headers are printed. /// into .xz headers are printed.
/// ///
/// \return Pointer to a statically allocated buffer. /// \return Pointer to a statically allocated buffer.
extern const char *message_filters_get( extern const char *message_filters_to_str(
const lzma_filter *filters, bool all_known); const lzma_filter *filters, bool all_known);