1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

bitset: Fix -Wmissing-variable-declarations warnings.

* lib/bitset/table.c (tbitset_vtable): Make static.
* lib/bitset/array.c (abitset_small_vtable, abitset_vtable): Likewise.
* lib/bitset/vector.c (vbitset_vtable): Likewise.
* lib/bitset/list.c (lbitset_vtable): Likewise.
* lib/bitset/stats.c (bitset_stats_info_data, bitset_stats_info,
bitset_stats_vtable): Likewise.
This commit is contained in:
Bruno Haible
2025-04-26 11:34:01 +02:00
parent 1c57469411
commit cfcc6fb935
6 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -625,7 +625,7 @@ abitset_copy (bitset dst, bitset src)
/* Vector of operations for single word bitsets. */
struct bitset_vtable abitset_small_vtable = {
static struct bitset_vtable abitset_small_vtable = {
abitset_set,
abitset_reset,
bitset_toggle_,
@@ -663,7 +663,7 @@ struct bitset_vtable abitset_small_vtable = {
/* Vector of operations for multiple word bitsets. */
struct bitset_vtable abitset_vtable = {
static struct bitset_vtable abitset_vtable = {
abitset_set,
abitset_reset,
bitset_toggle_,