summaryrefslogtreecommitdiffstats
path: root/src/shared/mount-setup.h
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-02-22 06:03:09 +0100
committerMike Yuan <me@yhndnzj.com>2024-02-27 16:03:43 +0100
commit72a9f4fa453aa7cd70dac6dc3b2f43aba8f6a060 (patch)
treeea6b2cb80b2c64e0965441a0b2973801b4cbadfa /src/shared/mount-setup.h
parentcore/cgroup: remove obsolete TODO (diff)
downloadsystemd-72a9f4fa453aa7cd70dac6dc3b2f43aba8f6a060.tar.xz
systemd-72a9f4fa453aa7cd70dac6dc3b2f43aba8f6a060.zip
shared/mount-setup: minor modernization
Diffstat (limited to 'src/shared/mount-setup.h')
-rw-r--r--src/shared/mount-setup.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/mount-setup.h b/src/shared/mount-setup.h
index 29bd62f6bf..584722b48e 100644
--- a/src/shared/mount-setup.h
+++ b/src/shared/mount-setup.h
@@ -3,10 +3,10 @@
#include <stdbool.h>
+bool mount_point_is_api(const char *path);
+bool mount_point_ignore(const char *path);
+
int mount_setup_early(void);
int mount_setup(bool loaded_policy, bool leave_propagation);
int mount_cgroup_controllers(void);
-
-bool mount_point_is_api(const char *path);
-bool mount_point_ignore(const char *path);