summaryrefslogtreecommitdiff
path: root/src/shared/bus-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-16 13:21:14 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-16 13:21:14 +0100
commitd477bc35b0bf92514fcbdb315b9ffefe993d0395 (patch)
treed686f03c2f7d854c161d24a33631a0e398d26840 /src/shared/bus-util.h
parent6043679c6ec485a96926f07c26d77f2c0c246fe2 (diff)
parentc11bda1e3ca774ec09adab868e716dd8a84d5614 (diff)
Merge pull request #2630 from keszybz/systemctl-m-h
systemctl: fix style to avoid modification of array passed by caller
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);