summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-01-17 13:55:23 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-01-17 13:55:23 -0500
commiteaf38feeb43cb2e6558b685d51f36ae775315339 (patch)
tree5053420f4d3bc0d7202687157e2db955b6ac5792
parentef03769f3f69f3d6d9d3427b1d84ec00a1c3cc36 (diff)
downloadbfs-eaf38feeb43cb2e6558b685d51f36ae775315339.tar.xz
fsade: Mark bfs_acl_tag_type() as maybe_unused
It's not used on at least macOS, which doesn't have ACL_{USER,GROUP}_OBJ or ACL_OTHER.
-rw-r--r--src/fsade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fsade.c b/src/fsade.c
index d6ef4b8..ee17416 100644
--- a/src/fsade.c
+++ b/src/fsade.c
@@ -149,6 +149,7 @@ static int bfs_acl_entry(acl_t acl, int which, acl_entry_t *entry) {
}
/** Unified interface for acl_get_tag_type(). */
+attr(maybe_unused)
static int bfs_acl_tag_type(acl_entry_t entry, acl_tag_t *tag) {
#if __DragonFly__
*tag = entry->ae_tag;