X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbuffer.c;h=7638bb1fce71c3e0ffc14b48480b6c5692e9a965;hb=5bb04335079011dfbd8547151d402b07ed152291;hp=4a980b5da373725385db98a481aa66c38a77541a;hpb=8c75b1387a33fdbf3cbc8ba8bfa0ab1851d30894;p=chaz%2Ftar diff --git a/src/buffer.c b/src/buffer.c index 4a980b5..7638bb1 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -193,7 +193,7 @@ bufmap_reset (struct bufmap *map, ssize_t fixup) static struct tar_stat_info dummy; void -buffer_write_global_xheader () +buffer_write_global_xheader (void) { xheader_write_global (&dummy.xhdr); } @@ -205,7 +205,7 @@ mv_begin_read (struct tar_stat_info *st) } void -mv_end () +mv_end (void) { if (multi_volume_option) bufmap_free (NULL); @@ -233,7 +233,7 @@ clear_read_error_count (void) double duration; void -set_start_time () +set_start_time (void) { gettime (&start_time); volume_start_time = start_time; @@ -248,7 +248,7 @@ set_volume_start_time (void) } void -compute_duration () +compute_duration (void) { struct timespec now; gettime (&now); @@ -509,7 +509,7 @@ print_stats (FILE *fp, const char *text, tarlong numbytes) } void -print_total_stats () +print_total_stats (void) { switch (subcommand_option) { @@ -1928,13 +1928,13 @@ gnu_flush_write (size_t buffer_level) } void -flush_read () +flush_read (void) { flush_read_ptr (); } void -flush_write () +flush_write (void) { flush_write_ptr (record_size); }