Building gzip, I see this warning: /GZIP/gzip/lib/crc-generate-table.c:41:15: warning: no previous declaration for 'crc_table' [-Wmissing-variable-declarations]
This patch fixes it. 2025-04-26 Bruno Haible <br...@clisp.org> crc: Fix -Wmissing-variable-declarations warning. * lib/crc-generate-table.c (crc_table): Make static. diff --git a/lib/crc-generate-table.c b/lib/crc-generate-table.c index 86989022bd..6c614374bf 100644 --- a/lib/crc-generate-table.c +++ b/lib/crc-generate-table.c @@ -38,7 +38,7 @@ * the slice-by-8 algorithm which uses 8 tables from in 8-bit * increments from make_crc_table(8) to make_crc_table(64) */ -unsigned long crc_table[256]; +static unsigned long crc_table[256]; static void make_crc_table (int bits)