mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
core/manager: make manager_enumerate() static
This commit is contained in:
parent
94b01dae47
commit
a1113e0865
@ -1255,7 +1255,7 @@ Manager* manager_free(Manager *m) {
|
||||
return mfree(m);
|
||||
}
|
||||
|
||||
void manager_enumerate(Manager *m) {
|
||||
static void manager_enumerate(Manager *m) {
|
||||
UnitType c;
|
||||
|
||||
assert(m);
|
||||
|
@ -373,7 +373,6 @@ int manager_new(UnitFileScope scope, unsigned test_run_flags, Manager **m);
|
||||
Manager* manager_free(Manager *m);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
|
||||
|
||||
void manager_enumerate(Manager *m);
|
||||
int manager_startup(Manager *m, FILE *serialization, FDSet *fds);
|
||||
|
||||
Job *manager_get_job(Manager *m, uint32_t id);
|
||||
|
Loading…
Reference in New Issue
Block a user