summaryrefslogtreecommitdiffstats
path: root/src/core/execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-07-17 18:47:32 +0200
committerLennart Poettering <lennart@poettering.net>2018-07-23 13:36:47 +0200
commitee39ca20c6da8b77a647e45bbc7d6ec0b852888f (patch)
tree554f2acd4236a342b27b0d830b453621ecb7171e /src/core/execute.h
parentexecute: use structure initialization when filling in exec status (diff)
downloadsystemd-ee39ca20c6da8b77a647e45bbc7d6ec0b852888f.tar.xz
systemd-ee39ca20c6da8b77a647e45bbc7d6ec0b852888f.zip
core: drop "argv" field from ExecParameter structure
We always initialize it from the same field in ExecCommand anyway, hence there's no point in passing it separately to exec_spawn(), after all we already pass the ExecCommand structure itself anyway. No change in behaviour.
Diffstat (limited to 'src/core/execute.h')
-rw-r--r--src/core/execute.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/execute.h b/src/core/execute.h
index de44085492..81a118c5cd 100644
--- a/src/core/execute.h
+++ b/src/core/execute.h
@@ -292,7 +292,6 @@ typedef enum ExecFlags {
} ExecFlags;
struct ExecParameters {
- char **argv;
char **environment;
int *fds;