summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2013-02-28 00:14:47 +0100
committerMichal Schmidt <mschmidt@redhat.com>2013-02-28 02:23:14 +0100
commit6084e22e57afd588ad205697c0af119d93db1e39 (patch)
treeaa60eb7ceb4d9357004d2e532599a3a54dfeb0e0 /src/core
parent25cee55076a7c00c0a584731c2705686cc843210 (diff)
core/manager: make a couple of functions static
They're not used outside manager.c anymore.
Diffstat (limited to 'src/core')
-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);