From c0ef66da920d842bbcec6fe57bea7bc0fc22f45d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 1 Nov 2024 09:40:36 -0700 Subject: [PATCH] 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. --- src/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common.h b/src/common.h index 29908ce8..9e99c235 100644 --- a/src/common.h +++ b/src/common.h @@ -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; -- 2.47.2