namespace: add missing 'const' to parameters

This commit is contained in:
Lennart Poettering 2014-10-17 13:48:55 +02:00
parent 342641fb47
commit a004cb4cb2
2 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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,