]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/cgroup: make unit_get_ancestor_disable_mask() static
authorMike Yuan <me@yhndnzj.com>
Sat, 5 Jul 2025 22:18:40 +0000 (00:18 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 7 Jul 2025 15:55:13 +0000 (17:55 +0200)
src/core/cgroup.c
src/core/cgroup.h

index ee39680d68b63eda0f8dd3f79d7644ad509cd32c..bd47671a22d7bbe7064c3e3b802d09e83879b3b9 100644 (file)
@@ -1827,7 +1827,7 @@ static CGroupMask unit_get_disable_mask(Unit *u) {
         return c->disable_controllers;
 }
 
-CGroupMask unit_get_ancestor_disable_mask(Unit *u) {
+static CGroupMask unit_get_ancestor_disable_mask(Unit *u) {
         CGroupMask mask;
         Unit *slice;
 
index 4e30434f6d93c21a6d649f608fcad995640f970f..55669b7e3a50167c226a768b7f86c07f5d1fa50d 100644 (file)
@@ -376,7 +376,6 @@ CGroupMask unit_get_own_mask(Unit *u);
 CGroupMask unit_get_delegate_mask(Unit *u);
 CGroupMask unit_get_members_mask(Unit *u);
 CGroupMask unit_get_siblings_mask(Unit *u);
-CGroupMask unit_get_ancestor_disable_mask(Unit *u);
 
 CGroupMask unit_get_target_mask(Unit *u);
 CGroupMask unit_get_enable_mask(Unit *u);