diff options
Diffstat (limited to 'sesman/env.c')
| -rw-r--r-- | sesman/env.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sesman/env.c b/sesman/env.c index d8bb1e98..11c8e2bf 100644 --- a/sesman/env.c +++ b/sesman/env.c @@ -34,7 +34,7 @@ extern struct config_sesman *g_cfg; /* in sesman.c */ /******************************************************************************/ int DEFAULT_CC -env_check_password_file(char *filename, char *passwd) +env_check_password_file(const char *filename, const char *passwd) { char encryptedPasswd[16]; char key[24]; @@ -83,8 +83,8 @@ env_check_password_file(char *filename, char *passwd) /******************************************************************************/ /* its the responsibility of the caller to free passwd_file */ int DEFAULT_CC -env_set_user(char *username, char **passwd_file, int display, - struct list *env_names, struct list* env_values) +env_set_user(const char *username, char **passwd_file, int display, + const struct list *env_names, const struct list *env_values) { int error; int pw_uid; |
