diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-06-26 20:43:36 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-06-26 20:43:36 +0300 |
commit | 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 (patch) | |
tree | e624b4266b0edd6ea0d67826ecfca9bab6bba314 /src/xz/process.c | |
parent | Ugly hack to make it possible to use the thousand separator (diff) | |
download | xz-5e1257466dcb66f1d7a3f71814a5ad885cba43e8.tar.xz |
Rename process_file() to coder_run().
Diffstat (limited to '')
-rw-r--r-- | src/xz/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xz/process.c b/src/xz/process.c index 0731ad94..1c904343 100644 --- a/src/xz/process.c +++ b/src/xz/process.c @@ -317,7 +317,7 @@ coder_init(void) static bool -coder_run(file_pair *pair) +coder_main(file_pair *pair) { // Buffers to hold input and output data. uint8_t in_buf[IO_BUFFER_SIZE]; @@ -464,7 +464,7 @@ coder_run(file_pair *pair) extern void -process_file(const char *filename) +coder_run(const char *filename) { // First try initializing the coder. If it fails, it's useless to try // opening the file. Check also for user_abort just in case if we had @@ -478,7 +478,7 @@ process_file(const char *filename) return; // Do the actual coding. - const bool success = coder_run(pair); + const bool success = coder_main(pair); // Close the file pair. It needs to know if coding was successful to // know if the source or target file should be unlinked. |