summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-15 19:06:53 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-15 19:06:53 -0500
commitc11bda1e3ca774ec09adab868e716dd8a84d5614 (patch)
tree9db1920782bbc1dc7b0ec02a07b6a3ae8ef92e71 /src/shared/bus-util.h
parent4524439edb7d6050ba8a7779cdb7305e6ceb621c (diff)
systemctl: fix style to avoid modification of array passed by caller
Followup for 4524439edb7d.
Diffstat (limited to 'src/shared/bus-util.h')
-rw-r--r--src/shared/bus-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index 26d338beec..fcda1b2c6c 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -180,7 +180,7 @@ typedef struct BusWaitForJobs BusWaitForJobs;
int bus_wait_for_jobs_new(sd_bus *bus, BusWaitForJobs **ret);
void bus_wait_for_jobs_free(BusWaitForJobs *d);
int bus_wait_for_jobs_add(BusWaitForJobs *d, const char *path);
-int bus_wait_for_jobs(BusWaitForJobs *d, bool quiet, const char** extra_args);
+int bus_wait_for_jobs(BusWaitForJobs *d, bool quiet, const char* const* extra_args);
int bus_wait_for_jobs_one(BusWaitForJobs *d, const char *path, bool quiet);
DEFINE_TRIVIAL_CLEANUP_FUNC(BusWaitForJobs*, bus_wait_for_jobs_free);