chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120d578
)
execute: silence warnings
author
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Mon, 8 Sep 2014 20:10:36 +0000
(22:10 +0200)
committer
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Mon, 8 Sep 2014 20:10:36 +0000
(22:10 +0200)
Mark two function parameters as const
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 2b16b36c19b187853061f90c0918506086c94716..db755777c130a90939aae4cc3f57a339db37f6f9 100644
(file)
--- 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;