summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/manager.c4
-rw-r--r--src/core/manager.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index d6c6e2de6d..1dac69b791 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -2152,7 +2152,7 @@ finish:
return r;
}
-bool manager_is_booting_or_shutting_down(Manager *m) {
+static bool manager_is_booting_or_shutting_down(Manager *m) {
Unit *u;
assert(m);
@@ -2479,7 +2479,7 @@ void manager_set_show_status(Manager *m, bool b) {
unlink("/run/systemd/show-status");
}
-bool manager_get_show_status(Manager *m) {
+static bool manager_get_show_status(Manager *m) {
assert(m);
if (m->running_as != SYSTEMD_SYSTEM)
diff --git a/src/core/manager.h b/src/core/manager.h
index 3ec8d707d2..d21f27dfd4 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -278,8 +278,6 @@ int manager_distribute_fds(Manager *m, FDSet *fds);
int manager_reload(Manager *m);
-bool manager_is_booting_or_shutting_down(Manager *m);
-
void manager_reset_failed(Manager *m);
void manager_send_unit_audit(Manager *m, Unit *u, int type, bool success);
@@ -296,6 +294,5 @@ void manager_recheck_journal(Manager *m);
void manager_set_show_status(Manager *m, bool b);
void manager_status_printf(Manager *m, const char *status, const char *format, ...);
-bool manager_get_show_status(Manager *m);
void watch_init(Watch *w);