projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43ee82
)
execute: make "runtime" argument const in exec_needs_mount_namespace()
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 30 Dec 2017 09:38:26 +0000
(18:38 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 3 Jan 2018 15:48:18 +0000
(
00:48
+0900)
The argument can be const, then let's make so.
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 2ec8620b8671fa8c2297ce1c0d846af432b174b2..1572515615d2eaac7e3c602df308c997271b6921 100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-1776,7
+1776,7
@@
static int build_pass_environment(const ExecContext *c, char ***ret) {
static bool exec_needs_mount_namespace(
const ExecContext *context,
const ExecParameters *params,
- ExecRuntime *runtime) {
+
const
ExecRuntime *runtime) {
assert(context);
assert(params);