From: Yu Watanabe Date: Sat, 30 Dec 2017 09:38:26 +0000 (+0900) Subject: execute: make "runtime" argument const in exec_needs_mount_namespace() X-Git-Tag: v237~142^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4657abb5d456fa351386a2dfae34b6c3afdb19bb;p=thirdparty%2Fsystemd.git execute: make "runtime" argument const in exec_needs_mount_namespace() The argument can be const, then let's make so. --- diff --git a/src/core/execute.c b/src/core/execute.c index 2ec8620b867..1572515615d 100644 --- 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);