summaryrefslogtreecommitdiff
path: root/lib/bitset/array.c
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-05-09 13:31:07 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-05-09 15:12:57 +0200
commit670f259f1e2104cf86b5811db095d4d374c36507 (patch)
tree56f38714501139789b228a43d0dc3d01880a5ec9 /lib/bitset/array.c
parentd14eb48670838366eafc1616078f9b151012bf6c (diff)
downloadgnulib-670f259f1e2104cf86b5811db095d4d374c36507.tar.gz
bitset: use the attribute module
* modules/bitset: Depend on 'attribute'. * lib/bitset/base.h (ATTRIBUTE_UNUSED): Remove. * lib/bitset.c, lib/bitset/array.c, lib/bitset/list.c, * lib/bitset/stats.c, lib/bitset/table.c, lib/bitset/vector.c: Use MAYBE_UNUSED instead of ATTRIBUTE_UNUSED.
Diffstat (limited to 'lib/bitset/array.c')
-rw-r--r--lib/bitset/array.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bitset/array.c b/lib/bitset/array.c
index e611f38bcf..f350b53eb4 100644
--- a/lib/bitset/array.c
+++ b/lib/bitset/array.c
@@ -99,7 +99,7 @@ abitset_small_list (bitset src, bitset_bindex *list,
/* Set bit BITNO in bitset DST. */
static void
-abitset_set (bitset dst ATTRIBUTE_UNUSED, bitset_bindex bitno ATTRIBUTE_UNUSED)
+abitset_set (bitset dst MAYBE_UNUSED, bitset_bindex bitno MAYBE_UNUSED)
{
/* This should never occur for abitsets since we should always hit
the cache. It is likely someone is trying to access outside the
@@ -110,8 +110,8 @@ abitset_set (bitset dst ATTRIBUTE_UNUSED, bitset_bindex bitno ATTRIBUTE_UNUSED)
/* Reset bit BITNO in bitset DST. */
static void
-abitset_reset (bitset dst ATTRIBUTE_UNUSED,
- bitset_bindex bitno ATTRIBUTE_UNUSED)
+abitset_reset (bitset dst MAYBE_UNUSED,
+ bitset_bindex bitno MAYBE_UNUSED)
{
/* This should never occur for abitsets since we should always hit
the cache. It is likely someone is trying to access outside the
@@ -121,8 +121,8 @@ abitset_reset (bitset dst ATTRIBUTE_UNUSED,
/* Test bit BITNO in bitset SRC. */
static bool
-abitset_test (bitset src ATTRIBUTE_UNUSED,
- bitset_bindex bitno ATTRIBUTE_UNUSED)
+abitset_test (bitset src MAYBE_UNUSED,
+ bitset_bindex bitno MAYBE_UNUSED)
{
/* This should never occur for abitsets since we should always
hit the cache. */