diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-09-08 22:10:36 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-09-08 22:10:36 +0200 |
commit | 822a59607c4974915db0644b627070f001986825 (patch) | |
tree | e8ea20dd0d3b739ff3fc6b4a7a72958cf389add7 /src/core/execute.c | |
parent | 120d578e5fa11ee3c210121905fb63bc24e3f043 (diff) |
execute: silence warnings
Mark two function parameters as const
Diffstat (limited to 'src/core/execute.c')
-rw-r--r-- | src/core/execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index 2b16b36c19..db755777c1 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -939,7 +939,7 @@ static void rename_process_from_path(const char *path) { #ifdef HAVE_SECCOMP -static int apply_seccomp(ExecContext *c) { +static int apply_seccomp(const ExecContext *c) { uint32_t negative_action, action; scmp_filter_ctx *seccomp; Iterator i; @@ -988,7 +988,7 @@ finish: return r; } -static int apply_address_families(ExecContext *c) { +static int apply_address_families(const ExecContext *c) { scmp_filter_ctx *seccomp; Iterator i; int r; |