]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
execute: make "runtime" argument const in exec_needs_mount_namespace() 7763/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Dec 2017 09:38:26 +0000 (18:38 +0900)
committerYu 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

index 2ec8620b8671fa8c2297ce1c0d846af432b174b2..1572515615d2eaac7e3c602df308c997271b6921 100644 (file)
@@ -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);