diff --git a/lrzip_private.h b/lrzip_private.h index 88e58ec..1aa41ce 100644 --- a/lrzip_private.h +++ b/lrzip_private.h @@ -179,7 +179,7 @@ struct rzip_control { int fd_out; md5_ctx ctx; void *data; // random data pointer associated for use in callbacks - i64 md5_read; // How far into the file the md5 has done so far + i64 md5_read; // How far into the file the md5 has done so far }; struct stream { diff --git a/main.c b/main.c index d08ae05..4185bd9 100644 --- a/main.c +++ b/main.c @@ -251,7 +251,7 @@ static void show_summary(void) print_verbose("ZPAQ. LZO Compressibility testing %s\n", (LZO_TEST? "enabled" : "disabled")); else if (NO_COMPRESS) print_verbose("RZIP pre-processing only\n"); - if (control.window) + if (control.window) print_verbose("Compression Window: %lld = %lldMB\n", control.window, control.window * 100ull); /* show heuristically computed window size */ if (!control.window && !UNLIMITED) { @@ -262,7 +262,7 @@ static void show_summary(void) temp_chunk = temp_ramsize / 3; else temp_chunk = temp_ramsize / 3 * 2; - temp_window = temp_chunk / (100 * 1024 * 1024); + temp_window = temp_chunk / (100 * 1024 * 1024); print_verbose("Heuristically Computed Compression Window: %lld = %lldMB\n", temp_window, temp_window * 100ull); } if (UNLIMITED) diff --git a/md5.c b/md5.c index 9df1252..9ae7b79 100644 --- a/md5.c +++ b/md5.c @@ -1,7 +1,7 @@ /* Copyright (C) 2011 Con Kolivas Copyright (C) 1995-2011 Ulrich Drepper. - + Functions to compute MD5 message digest of files or memory blocks. according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2011 Free Software diff --git a/md5.h b/md5.h index 729f2e0..9435e9c 100644 --- a/md5.h +++ b/md5.h @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2011 Con Kolivas Copyright (C) 1995-2011 Ulrich Drepper. diff --git a/stream.c b/stream.c index 8cefbf3..14397af 100644 --- a/stream.c +++ b/stream.c @@ -773,7 +773,7 @@ void prepare_streamout_threads(rzip_control *control) if (unlikely(!cthread)) fatal("Unable to calloc cthread in prepare_streamout_threads\n"); - for (i = 0; i < control->threads; i++) + for (i = 0; i < control->threads; i++) init_mutex(&cthread[i].mutex); } diff --git a/zpipe.h b/zpipe.h index 73f3080..e8db188 100644 --- a/zpipe.h +++ b/zpipe.h @@ -21,7 +21,7 @@ #include -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif