From a004cb4cb2271e04e87d4fd6f7353307038e83ea Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 17 Oct 2014 13:48:55 +0200 Subject: namespace: add missing 'const' to parameters --- src/core/namespace.c | 6 +++--- src/core/namespace.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/namespace.c b/src/core/namespace.c index c2215090a9..ab03aebf5b 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -424,9 +424,9 @@ int setup_namespace( char** read_write_dirs, char** read_only_dirs, char** inaccessible_dirs, - char* tmp_dir, - char* var_tmp_dir, - char* bus_endpoint_path, + const char* tmp_dir, + const char* var_tmp_dir, + const char* bus_endpoint_path, bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, diff --git a/src/core/namespace.h b/src/core/namespace.h index 9cd420e958..1f9d0676b4 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -44,9 +44,9 @@ typedef enum ProtectSystem { int setup_namespace(char **read_write_dirs, char **read_only_dirs, char **inaccessible_dirs, - char *tmp_dir, - char *var_tmp_dir, - char *endpoint_path, + const char *tmp_dir, + const char *var_tmp_dir, + const char *endpoint_path, bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, -- cgit v1.2.3-54-g00ecf