From a004cb4cb2271e04e87d4fd6f7353307038e83ea Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 17 Oct 2014 13:48:55 +0200 Subject: [PATCH] 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 c2215090a..ab03aebf5 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 9cd420e95..1f9d0676b 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, -- 2.30.2