diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-28 12:43:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-31 19:09:20 +0100 |
commit | 96d66d89c9ba3cc936a8d8217370c70292a6abb7 (patch) | |
tree | 1a7fc31fe606e23edda4dd6c941ab4488a44b10d /src/core | |
parent | systemctl: add a way to explicitly request client-side unit installing (diff) | |
download | systemd-96d66d89c9ba3cc936a8d8217370c70292a6abb7.tar.xz systemd-96d66d89c9ba3cc936a8d8217370c70292a6abb7.zip |
core: constify a few things
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index d161e6c57b..8decfd472f 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -1488,7 +1488,7 @@ static unsigned manager_dispatch_dbus_queue(Manager *m) { return n; } -static void manager_invoke_notify_message(Manager *m, Unit *u, pid_t pid, char *buf, size_t n, FDSet *fds) { +static void manager_invoke_notify_message(Manager *m, Unit *u, pid_t pid, const char *buf, size_t n, FDSet *fds) { _cleanup_strv_free_ char **tags = NULL; assert(m); @@ -1618,7 +1618,7 @@ static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t return 0; } -static void invoke_sigchld_event(Manager *m, Unit *u, siginfo_t *si) { +static void invoke_sigchld_event(Manager *m, Unit *u, const siginfo_t *si) { assert(m); assert(u); assert(si); |