]> Dogcows Code - chaz/tar/commitdiff
(records_skipped): Remove static qualifier, the
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 12 Jun 2006 13:19:16 +0000 (13:19 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 12 Jun 2006 13:19:16 +0000 (13:19 +0000)
variable is used by print_total_stats in buffer.c

src/delete.c

index 3e6adddbf245e68b68ef1787bcb64549e4af3791..e369a7af7efbbfd06f8fad57b991c18e0c85ac14 100644 (file)
@@ -39,7 +39,7 @@ extern off_t records_written;
 
 /* The number of records skipped at the start of the archive, when
    passing over members that are not deleted.  */
-static off_t records_skipped;
+off_t records_skipped;
 
 /* Move archive descriptor by COUNT records worth.  If COUNT is
    positive we move forward, else we move negative.  If it's a tape,
@@ -294,7 +294,7 @@ delete_archive_members (void)
                  set_next_block_after (current_header);
                  blocks_to_skip = (current_stat_info.stat.st_size
                                    + BLOCKSIZE - 1) / BLOCKSIZE;
-
+                 
                  while (record_end - current_block <= blocks_to_skip)
                    {
                      blocks_to_skip -= (record_end - current_block);
This page took 0.029402 seconds and 4 git commands to generate.