瀏覽代碼

(records_skipped): Remove static qualifier, the
variable is used by print_total_stats in buffer.c

Sergey Poznyakoff 19 年之前
父節點
當前提交
05b250d4a4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/delete.c

+ 2 - 2
src/delete.c

@@ -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);