Prefer idx_t to size_t in common.h

* src/common.h (struct name): Prefer idx_t to size_t.
(volume_label_count): Remove; unused.
This commit is contained in:
Paul Eggert
2024-11-01 09:40:36 -07:00
parent c2ce0b7e13
commit c0ef66da92

View File

@@ -353,7 +353,7 @@ struct name
struct name *prev; /* Link to the previous element */
char *name; /* File name or globbing pattern */
size_t length; /* cached strlen (name) */
idx_t length; /* cached strlen (name) */
int matching_flags; /* wildcard flags if name is a pattern */
bool is_wildcard; /* true if this is a wildcard pattern */
bool cmdline; /* true if this name was given in the
@@ -432,7 +432,6 @@ extern bool seekable_archive;
extern FILE *stdlis;
extern bool write_archive_to_stdout;
extern char *volume_label;
extern size_t volume_label_count;
extern char *continued_file_name;
extern uintmax_t continued_file_size;
extern uintmax_t continued_file_offset;