From: Paul Eggert Date: Fri, 1 Nov 2024 16:40:36 +0000 (-0700) Subject: Prefer idx_t to size_t in common.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0ef66da920d842bbcec6fe57bea7bc0fc22f45d;p=thirdparty%2Ftar.git 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. --- 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;