Pacify gcc -Wmissing-variable-declarations

* src/buffer.c (start_offset): Now static.
This commit is contained in:
Paul Eggert
2024-11-01 09:47:18 -07:00
parent 5a41310e57
commit 967f5f52f7

View File

@@ -33,7 +33,7 @@
#include "common.h"
#include <rmt.h>
/* Work around GCC bug 109856. */
/* Work around GCC bug 117236. */
# if 13 <= __GNUC__
# pragma GCC diagnostic ignored "-Wnull-dereference"
# endif
@@ -65,7 +65,7 @@ union block *current_block; /* current block of archive */
enum access_mode access_mode; /* how do we handle the archive */
off_t records_read; /* number of records read from this archive */
off_t records_written; /* likewise, for records written */
off_t start_offset; /* start offset in the archive */
static off_t start_offset; /* start offset in the archive */
/* When file status was last computed. */
static struct timespec last_stat_time;